how to change menu background

Go down

Solved how to change menu background

Post by Mtrix on December 9th 2010, 4:42 pm

Change menu background

I want to change background (Bar) of menu.. My forum is phpBB2 version

Example: For Inviion is this Css
#submenu {
background:url("http://i34.servimg.com/u/f34/15/24/47/22/untitl17.png");
background-repeat:repeat-x; 0 0 #007BFF;
color:#007BFF;
}

I am sorry, but I want to know how is Css for the version of phpBB2. I am waiting for your answer as soon as possible.

Mtrix
New Member

Posts : 4
Reputation : 0
Language : English

Back to top Go down

Solved Re: how to change menu background

Post by ankillien on December 9th 2010, 5:03 pm

Hi,

You might need to edit templates in order to change menu background in phpBB2.

Please navigate to Admin CP > Display > Templates > General > overall_heeader. Find out this part...

Code:
<table cellspacing="0" cellpadding="0" border="0" align="{MENU_POSITION}">

and replace it with this...

Code:
<table cellspacing="0" cellpadding="0" border="0" align="{MENU_POSITION}" class="nav-menu">

Save the template and publish it.
Now you can add your CSS using this selector...

Code:
.nav-menu {
background: red;
}
avatar
ankillien
Energetic

Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL

http://www.webartzforum.com/

Back to top Go down

Solved Re: how to change menu background

Post by Mtrix on December 9th 2010, 5:24 pm

ankillien, thanks for Halping me.

Now is Solved Smile

Mtrix
New Member

Posts : 4
Reputation : 0
Language : English

Back to top Go down

Solved Re: how to change menu background

Post by Guest on December 9th 2010, 5:33 pm

Solved + Locked

Guest
Guest


Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum