Uutiset:

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

Main Menu
Advertisement:

how do i set the width of my forum?

Aloittaja Bogi, heinäkuu 06, 2006, 02:30:08 AP

« edellinen - seuraava »

Bogi

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
:)

Deaks

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
~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

DLoney

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:
hxxp:ctrlclick-online.com/forum/index.php [nonactive]

Deaks

~~~~
Former SMF Project Manager
Former SMF Customizer

"For as lang as hunner o us is in life, in nae wey
will we thole the Soothron tae owergang us. In truth it isna for glory, or wealth, or
honours that we fecht, but for freedom alane, that nae honest cheil gies up but wi life
itsel."

urbanscrawl

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

Harzem

If you're trying to change the forum width of Dilber MC, just set it in admin panel > current theme

Advertisement: