Main Menu

…when you select a page from the main (in my case for example ‘Our Services’) and you are taken to that page. Is it possible to have the ‘Our Services’ menu item highlighted by some colour of my choice just to remind people what page they are on. I probably didn’t explain that very well but hopefully you can help.

Kind Regards,

Lawrence

www.euhcm.com

Hello Lawrence,

You can achieve this with custom css code below:

#mainnav li.menu-item.current-menu-ancestor > a,
#mainnav li.menu-item.current-menu-item > a {
    color: #ffcc00;
}

Of course, change color value to your liking.

You can apply the code with this plugin https://wordpress.org/plugins/simple-custom-css/

All the Best!

Many thanks for your reply. Your solution works perfectly apart from in one (1) instance. If you select The Company and then Compliance from the Main menu, when you are taken to that page The Company in the main menu does not highlight.

Any ideas as it has got me beat!

Kind Regards,

Lawrence

Hi again Lawrence,

Only difference is that mentioned link is using longer link http://www.euhcm.com/the-company/compliance/ http://screencast.com/t/KtPBo17PPf and other menu items are using for example http://www.euhcm.com/our-vision/

Really don’t know how you have built that particular menu item, but try to change it like other menu links.

Let us know how it turned out.
All the Best!