Simple Machines Community Forum

Customizing SMF => Graphics and Templates => Aiheen aloitti: Bogi - heinäkuu 06, 2006, 02:30:08 AP

Otsikko: how do i set the width of my forum?
Kirjoitti: Bogi - heinäkuu 06, 2006, 02:30:08 AP
i have been trying to figure this out, searched for answeres and such but cant find anything on it anywhere. can someone help me out? and also how can i change the colors of the forum. like the background and tables and such.

thank you
:)
Otsikko: Re: how do i set the width of my forum?
Kirjoitti: Deaks - heinäkuu 07, 2006, 05:20:02 AP
all these are in the style .css

regarding width look for body in the style.css

may look like this:

/* The main body of the entire forum. */
body
{
background-color: #E5E5E8;
margin: 0px;
padding: 12px 30px 4px 30px;
}


simply increase the sizes in the padding
Otsikko: Re: how do i set the width of my forum?
Kirjoitti: DLoney - heinäkuu 09, 2006, 12:02:42 IP
If i am reading what your saying right, just change the % value to an "px" value...
By default, the forums are set to 100% width...

But remember, some of the sub tables can have 100% width fine (tables inside of tables)...
If you need any help, feel free to reply. I did the same thing on the forums I was working on:
http://ctrlclick-online.com/forum/index.php (http://ctrlclick-online.com/forum/index.php)
Otsikko: Re: how do i set the width of my forum?
Kirjoitti: Deaks - heinäkuu 09, 2006, 12:20:55 IP
you are as easy to change the style.css
Otsikko: Re: how do i set the width of my forum?
Kirjoitti: urbanscrawl - heinäkuu 11, 2006, 08:42:00 AP
I am not sure that just changing it in the .css style sheet is enough - do you not need to implement that change through the template file.

My problem is that I am using the dilbermc theme and I cannot find where I should add the div into that template so that the css change takes effect.  Can anyone help me please?

regards,

Alex
Otsikko: Re: how do i set the width of my forum?
Kirjoitti: Harzem - heinäkuu 11, 2006, 08:55:27 AP
If you're trying to change the forum width of Dilber MC, just set it in admin panel > current theme