MyBB Community Forums

Full Version: Forum not centre
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I know this is a simple fix but I'm not sure what I have done now.

I was trying to make my forum a fixed width just like this one (the same settings) and I've moved everything to the left like so... http://shennyhq.co.uk/dir/

Please could someone tell me the width this community uses and where I have gone wrong.

Thanks.
In global.css try to edit margin in:

#container {
    width: 980px;
    color: #333;
    text-align: left;
    line-height: 1.4;
    margin: auto;
    max-width: 990px;
    font-family: Tahoma, Verdana, Arial, Sans-Serif;
    font-size: 13px;
}
Hi niere8,

I just tried that code and it's still forced left. Any other ideas? I think it may have something to do with when I tried to change the width. Is there somewhere I can view what the default global.css file should look like so I can compare em?

Thanks.

AHA!! yes I was changing the wrong one. Thanks all solved. Smile
Hi, you have to change margin in global.css (in themes), from margin:0 to margin:auto, in this way the forum will be centered.

Always in global.css change also #content : delete overflow: hidden;

#content {
    background: #fff;
    width: auto !important;
    padding: 20px 10px;
}
Cool Thank you.