• Hello

    I have been able to highlight the menu items of parent pages when visiting the child page with the code below:

    #site-navigation-wrap .dropdown-menu >.current-menu-item >a, #site-navigation-wrap .dropdown-menu >.current-menu-ancestor >a, #site-navigation-wrap .dropdown-menu >.current-menu-item >a:hover, #site-navigation-wrap .dropdown-menu >.current-menu-ancestor >a:hover {
    color: #f2ac1f !important;
    }

    But I have not figured out how to keep the parent item highlighted when visiting grandchild pages which do not appear in the header menu, but are setup accordingly as grandchild pages in WP > Pages.

    Thanks in advance for your help!
    Anthony

    • This topic was modified 5 years, 2 months ago by Anthony Froio.
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Main Menu Highlight when on grandchild page’ is closed to new replies.