MyBB Community Forums

Full Version: header background of default theme
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hello how to change the bg color of header in default theme?
Actually its not possible to change the background color only on header. However you can change the whole background of page body.

Go to: ACP > Themes > Select Your Theme > global.css > and find;
.body{
...
}

and change the background color there.
Actually, you should be able to change the background of just the header.

Depending on how your layout is, if the logo part in the header div then you should set the background: color in the header css, if its in logo then do it for logo. If its not in a div the wrap it around a div in the template and set a class for it and set that class to have a background. You may even have to set the width to extend it all the way to the other side of the page.
div.logo {
   background: #FFFFFF;
}

Might not be quite right for you, but it's a good starting point. If you want the whole header area, including the menu and user panel just below the logo, just use "div#header" instead of "div.logo".