Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: Realinfo - tammikuu 12, 2012, 08:35:32 AP

Otsikko: Want to Change
Kirjoitti: Realinfo - tammikuu 12, 2012, 08:35:32 AP
Dear sir

I want to decrease upper and lower distance of menu buttons.

from where I can make this change

I already many changes, but can't able to do that, so please guide.

2.0.2 default theme
Otsikko: Re: Want to Change
Kirjoitti: Ricky. - tammikuu 12, 2012, 09:01:33 AP
In your index.css of your theme..

Find :
#upper_section {
    margin-bottom: 1.5em;
    padding: 5px;
}

Replace with :
#upper_section {
    margin-bottom: 2px;
    padding: 5px;
}


Also find:

#header div.frame {
    background: url("../images/theme/main_block.png") no-repeat scroll 100% -480px;
    display: block;
    padding: 5px 20px 1em 0;
}

Replace with :
#header div.frame {
    background: url("../images/theme/main_block.png") no-repeat scroll 100% -480px;
    display: block;
    padding: 5px 20px 0 0;
}


Hope this helps ..
Good luck!
Otsikko: Re: Want to Change
Kirjoitti: Realinfo - tammikuu 12, 2012, 10:51:25 AP
Dear Ricky
you seem expert of this............. my first problem is solved.............. but can u also help me one more this............ I want to increase left half to 60% and right half to remaining 40%........... (actually I want to put 468 X 60 ads in left half) See in picture......... I tried to explain..........  please tell how to do this............