News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

How to increase Width of the Default template

Started by baagacheppav, July 12, 2010, 01:12:12 PM

Previous topic - Next topic

baagacheppav

I installed smf 2.0 rc3

now i want to increase the width of the default template...please let me know which files i have to edit.

mirahalo

theres a setting in admin / configuration / current theme /  Forum width:
Set the forum width. Examples: 950px, 80%, 1240px.


try that.

busterone

Default is already set at 100% in admin / configuration / current theme /  Forum width,   but there is a 15px padding.
Change your padding in Themes/default/css/index.css
body
{
background: #E9EEF2 url(../images/theme/backdrop.png) repeat-x;
font: 78%/130% "Verdana", "Arial", "Helvetica", sans-serif;
margin: 0 auto;
padding: 15px 5%;
}

baagacheppav

Quote from: 130860 on July 12, 2010, 01:25:17 PM
theres a setting in admin / configuration / current theme /  Forum width:
Set the forum width. Examples: 950px, 80%, 1240px.


try that.

Quote from: busterone on July 12, 2010, 08:26:51 PM
Default is already set at 100% in admin / configuration / current theme /  Forum width,   but there is a 15px padding.
Change your padding in Themes/default/css/index.css
body
{
background: #E9EEF2 url(../images/theme/backdrop.png) repeat-x;
font: 78%/130% "Verdana", "Arial", "Helvetica", sans-serif;
margin: 0 auto;
padding: 15px 5%;
}


thanks a lot .....

i already tried forum width in themes.....but its already set to 100%
changed the paddng in CSS file and it worked...

thanks both for your replies....

mirahalo


Advertisement: