Skip to content

Commit

Permalink
fix: background size (opentibiabr#37)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoTKBR authored Nov 20, 2023
1 parent 8aad0bd commit 018d48b
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions templates/tibiacom/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,14 @@ function MouseOutSubmenuItem(source) {
</script>
<?= template_place_holder('head_end'); ?>
</head>
<body onBeforeUnLoad="SaveMenu();" onUnload="SaveMenu();">
<body onBeforeUnLoad="SaveMenu();" onUnload="SaveMenu();" style="background-image:url(<?= $template_path ?><?= getImageMenuRandom('bgs') ?>);
background-size: cover;
background-position: center;
background-repeat: no-repeat;
background-attachment: fixed;
width: 100%;
height: 100%;
">
<?= template_place_holder('body_start'); ?>
<?php if (!empty($config['network_facebook'])) { ?>
<script type="text/javascript">
Expand Down Expand Up @@ -316,13 +323,7 @@ function MouseOutSubmenuItem(source) {
</script>
<?php } ?>
<div id="top"></div>
<div id="ArtworkHelper"
style="background-image:url(<?= $template_path ?><?= getImageMenuRandom('bgs') ?>);
background-size: 100%;
background-position: top center;
background-repeat: no-repeat;
background-attachment: fixed;
">
<div id="ArtworkHelper">
<div id="Bodycontainer">
<div id="ContentRow">
<div id="MenuColumn">
Expand Down

0 comments on commit 018d48b

Please sign in to comment.