submenu – how to keep the parent highlighted?

Support Area Forums Responsive Visual submenu – how to keep the parent highlighted?

This topic contains 3 replies, has 2 voices, and was last updated by  Bill Robbins 2 years, 9 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
URL to the page in question: http://
  • Author
  • #23449

    Thomas Pientka

    hey bill,

    right now the menu highlighting works for the current items.
    when you look at a page from a submenu you have one problem, the submenu is visible when hovering over the parent – nothing is highlighted it the parent menu anymore.

    is there a way to change it, so that the parent menu is always highlighten?


    Bill Robbins

    Good Morning Thomas,

    You’re welcome to add different styling there. WordPress adds the current-menu-parent class to the li in your menu that you can use a styling hook like this:

    li.current-menu-parent {
    	color: #fff;
    	background-color: #000;

    Just change the color to your preferred text color and the background-color to what you’d like the background to be like.

    Take care,


    Thomas Pientka

    thanks bill this is working!


    Bill Robbins

    Fantastic. Take care Thomas

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘submenu – how to keep the parent highlighted?’ is closed to new replies.