I set forum width 95% in adminpanel.
But the forum displying to left of browser. How to center it?
thnx.
What SMF are you using?
What ever container the forum is in, in 2.0 I believe it's "wrapper", set the margin to 0px auto :).
2.0 looks like this:
div#wrapper
{
margin: 0 auto;
}
I could be more specific if I had a link to your site or knew your theme and SMF version :).
It is already set like that.
Still forum displaying to left... More margin on right side.
/* This division wraps the entire forum when a forum width is set. */
.wrapper
{
width: 990px;
margin: 0 auto;
}
May we have a link to your forum, please.
Quote from: pittu on May 19, 2015, 09:00:18 PM
It is already set like that.
Still forum displaying to left... More margin on right side.
/* This division wraps the entire forum when a forum width is set. */
.wrapper
{
width: 990px;
margin: 0 auto;
}
Shouldn't it be this in your index.css?
/* This division wraps the entire forum when a forum width is set. */
div#wrapper
{
margin: 0 auto;
min-width: 764px;
max-width: 2300px;
}
Try that and see if it helps at all; should fix it.
Edit- Make sure to do a hard refresh after making the changes. ;)
Quote from: br360 on May 20, 2015, 03:15:49 AM
/* This division wraps the entire forum when a forum width is set. */
div#wrapper
{
margin: 0 auto;
min-width: 764px;
max-width: 2300px;
}
Try that and see if it helps at all; should fix it.
Edit- Make sure to do a hard refresh after making the changes. ;)
Thnx. working. I am using custom theme so it was little different I guess.