MyBB Community Forums

Full Version: menu bg
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
1.4.4 how to add background to menu in header template. Menu where it says search memberlist calendar help etc.
Admin CP > Templates & Styles > Themes > THEME > global.css > .menu

And modify the "background:" field..
There was no .menu so I added one and now it works. Also what is th best way to change the color of the words like search, help, etc?
They're links so I assume they use the 3 'a:' attributes at the start of global.css
Never mind I figured it out. It was all in global.css. I just never realized it had its own thing.
For other members wondering how to do this:

Go to:

Templates & Style
Themes
Edit the theme
Go to global.css

Find the following:

}

.menu ul {

Add above:

.menu {
	background: url(your image here);
	width: 100%;
	padding-top: 3px;
	height: 31px;
	text-align: left; /* IE 5 fix */

You may want to edit the code to your standard such as adding fonts and fonts size however this is the code I use for my menu images on all my themes.