News:

Wondering if this will always be free?  See why free is better.

Main Menu

How do i change the size of the theme. ( #wrapper )

Started by Zelix, February 10, 2013, 04:19:23 PM

Previous topic - Next topic

Zelix

Well, i have smf 2.0.4
Bright Forest Theme.
And the width: is 90%;
I want it 950px.. but when i change it, it's still 90% ( not working )

Any idea guys ?

This is now:










And i need it like this with 950px:






kat

Look in the theme's index.css file, in the "css" directory.

I believe, though I could be wrong, that this bit sets the width:

/* This division wraps the entire forum when a forum width is set. */
div#wrapper
{
margin: 0 auto;
min-width: 764px;
max-width: 2300px;
}


Have a fiddle. ;) (Keep a copy of the file, as a backup, obviously.)

Even better, try going to Admin>Current theme and setting:

Forum width:
Set the forum width. Examples: 950px, 80%, 1240px.


To something which suits.

Shambles

You'd be better of posting in the support thread for that theme, but in the meantime have you tried editing the theme's index.css file to change

Code (Find) Select
#wrapper
{
width: 95%;
font-size: 80%;
margin: 0 auto;
}


Code (Replace) Select
#wrapper
{
width: 950px;
font-size: 80%;
margin: 0 auto;
}



Ninja'd baby

kat

Or that. :)

I didn't do the "Theme support" thing, coz I thought it might help others if they wanted to do that to their theme.

So...


Zelix


Shambles

Did you refresh your browser's cache?

In winders that'd be ctrl/F5 or ctrl/shift/R

Zelix

Yes i did and still not working. What should i do ?


Shambles

Normally I'd walk away from a bumper, but as yours was so funny...

Do you have the Admin option that K@ mentioned?

QuoteEven better, try going to Admin>Current theme and setting:

Forum width:
Set the forum width. Examples: 950px, 80%, 1240px.

To something which suits.


Drop us a link to your forum too...

Zelix

Register, and i make you a owner, if it works please explain and tell me how you did that.


http://rsps.herobo.com/

Shambles

Your #wrapper is still set to 95%


And who's Tonto? I thought Aaron van Geffen created the theme  ???

Zelix

I changed it to tonto :D anyway. but how it's 95% i changed ....

Shambles

According to the theme's script files the width is controlled via settings in the Admin centre. Please go look harder in there...


As for changing the theme's credits... that's not clever at all.

Zelix

Soo ?? you registered ?

please fast i have to go now..

Shambles

Soo ?? you reverted the credit to the theme author?

I also have to go...


Shambles

Did you look in the Admin settings for the theme controls?

You didn't answer me...

Zelix

Come to my forums,

Account name: Test

Password: 9965805a

Shambles

Ok - did that. Set the theme as per K@'s instructions.

Took 10 seconds.

What next?

Zelix


Advertisement: