MyBB Community Forums

Full Version: How i can set white background and change width of page
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello, i want to ask, how i do same page like your forum.

I change width with this code


#container {
 color: #000;
text-align: left;
/*line-height: 1.4;*/
margin: 0;
/*font-family: Tahoma, Verdana, Arial, Sans-Serif;*/
/*font-size: 13px;*/
min-width: 990px;
}

.wrapper {
/*width: 85%;
min-width: 970px;
max-width: 1500px;

margin: auto auto;*/
  width: 970px;

}

But, i cant change this, i need this white wrapper under this menus.

[Image: kRZ8LJs.jpg]

Thank you  Smile
Hi,

search in global.css of the theme (advanced view) for:
#forum #main .wrapper {
    width: 950px;
    margin: auto auto;
}

And change/add what you want.
Hello, thanks, but i not see this code in global.css
Yeah, my fault, if you give me the URL of your forum, I'll be more accurate Wink
I have fresh install mybb on local, it is possible send me what should I edit or add?

Thanks
Hi, to change that first you have to change the template to add/change new divs.

After that you'll be able to add new css like the one I pasted before.
Can you post this code here please ? Thanks

I do this:

#container {
color: #000;
text-align: left;
/*line-height: 1.4;*/
margin: 0;
/*font-family: Tahoma, Verdana, Arial, Sans-Serif;*/
/*font-size: 13px;*/
min-width: 990px;
}

.wrapper {
/*width: 85%;
min-width: 970px;
max-width: 1500px;

margin: auto auto;*/
width: 970px;

}

#container > #content > .wrapper {
background: #fff;
padding: 20px 35px !important;
/* width: 950px; */
border-left: 1px solid #ddd;
border-right: 1px solid #ddd;
}

#content {
padding: 0px 10px !important;
background: #fafafa url(https://mybb.com/assets/images/p4a.png);
}
Hi again, i try this codes, but still not work. This first codes for change width work, but i need same like in this forum. Is there anyone from mybb support who can help me with this ?

Its look really good, but it's a shame that it's no longer in the default installation mode :-)

Thanks

[Image: j2kFuA3.jpg]
Have you tried using https://community.mybb.com/mods.php?action=view&pid=729 as a starting point? It  was quickly thrown together awhile back due to other folks asking similar questions so hence the theme and the name "mycomm"

Smile Perhaps this is kinda what you seek?

[attachment=40297]
I try this, thanks :-) But it would be better for me to know the css code for editing.

I tested it, but it's not what I wanted. I need simple code to make it this white border (wrapper) thats all.
Pages: 1 2