Selected menu Font Colour
-
were do you find the menu id
View page source or use firebug to find the menu-item ID.
In the below picture, “Blog” menu-item is selected. Firebug is showing that it has the ID menu-item-427. So, menu-item-427 is the ID of Blog menu-item.
i got it working thanks but is there a current_parent page of a parent page code
….is there a current_parent page of a parent page code
Once again, I need to look at the live site. Or, you have to find it yourself.
in my custom menu i have a page within a page within a page so:
Page 1
-Page 2
–Page 3
I want it so when I’m on
Page 3that menu item for page 1 is a certain colourwill this info help you help me as i am not able to show live site
Use magic firefox extension – Firebug!
i dont have firefox im using chrome
If you have installed Chrome Developer Tools in Chrome, right click on Page 3 menu item and select Inspect Element. Then find it’s ID
what do i do with the id
Your initial intention was to change menu colour! So, I showed you how to find out menu IDs. With knowing the menu item ID, you can tweak it as you want!
- You must be logged in to reply to this topic.
