I am testing the new menu navigation section and I cannot find out how to
highlight the homepage. I used the custom page option to create a line for
the homepage. But there is no class or id “menu-current-item” related to
custom pages. So how can I highlight the homepage in my menu ?
Well you should be able to target a specific menu easily enough with CSS. You can then make the home page the first item in the menu, and use the :first-child pseudo class to apply a style to only the first li.
Not sure if :first-child class works here because when I am on another page, I don’t want the home to be highlighted anymore. I just want the current page to be highlighted, but with the new menu options I did not find a way to include the homepage to be highlighted as a “current page”…
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘How to highlight the homepage using the new menu tool ?’ is closed to new replies.