News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Width problems with Dult theme

Started by PetrusCorporated, March 18, 2009, 03:49:26 PM

Previous topic - Next topic

PetrusCorporated

Hi all! I've been editing the Dult theme to fit to my site preferences. So, I have changed the width of the body to fit the header logo. But there is a little problem:



As you can see, there is a background in black, and I want to move it where the arrows indicates. I have tried many times, but I can't achieve it. The code for that background is:

index.template
echo '
<div class="sol">
<div class="sag">';


style.css
.sol { background:#1B1B1B url('images/img/sol.jpg') repeat-y left ; padding-left:70px; }
.sag { background:#1B1B1B url('images/img/sag.jpg') repeat-y right ; padding-right:70px; }


Is there any change I can make to the code so I can fix it?

Thanks in advance! =)

shadow82x

In ../Themes/dult/style.css

Find
/* The main body of the entire forum. */
body
{
background-color: #292929;
margin: 0px;
padding: 0px 0px 0px 0px;
}


Try Changing that to
/* The main body of the entire forum. */
body
{
   background-color: #292929;
   margin: 0 auto;
   padding: 12px 0 4px 0;
   width: 700px;  
}

You can adjust the width PX. I havent personally tested it - but it may do the trick. :)

Tell us how it goes.
Colin B
Former Spammer, Customize, & Support Team Member

PetrusCorporated

Wow! It worked! :D



Thank you very much! =D

shadow82x

Colin B
Former Spammer, Customize, & Support Team Member

Advertisement: