The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

how to change menu background

2 posters

Go down

Solved how to change menu background

Post by Mtrix December 9th 2010, 17:42

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("https://i.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.
avatar
Mtrix
New Member

Posts : 4
Reputation : 0
Language : English

Back to top Go down

Solved Re: how to change menu background

Post by ankillien December 9th 2010, 18:03

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;
}
ankillien
ankillien
Energetic

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

Back to top Go down

Solved Re: how to change menu background

Post by Mtrix December 9th 2010, 18:24

ankillien, thanks for Halping me.

Now is Solved Smile
avatar
Mtrix
New Member

Posts : 4
Reputation : 0
Language : English

Back to top Go down

Solved Re: how to change menu background

Post by Guest December 9th 2010, 18:33

Solved + Locked
avatar
Guest
Guest


Back to top Go down

Back to top


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