MyBB Community Forums

Full Version: How do I widen my theme ?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
For my test forum I am making how do I widen the theme

Like on the left and right of the page there is black fill how do I reduce that and widen the actual content in the middle

My global.css says this

font: 11px 'Source Sans Pro', Verdana, Arial, Sans-Serif;
margin: 0;
padding: 10px 0 0 0;
Open your gobal css:
look for #wrapper and change the width to 100%
as I did below.

#wrapper {
background-color: #121212;
border-left: 1px solid #2b2b2b;
border-right: 1px solid #2b2b2b;
height: auto;
margin: 0 auto;
padding: 0;
width: 100%;

let me know how it goes please.
Still need help with this I tried the above code but it didnt work
the above code should have worked... anyway, in ACP >> Themes >> Your Theme >> global.css find #wrapper and it has the width property set as "width: 1020px;", increase it to a higher value as per your liking... and then open your forum and do a hard refresh (ctrl+F5) to see the changes....
MyBB 1.8 likes to hold onto the cache for me for a while (even after hard refresh). I'd recommend clearing your cache and seeing if that fixed it.