• Check out the page I’m working on here >>> https://www.onestopindustrialsupply.com

    When I hover on a menu nav item, a line highlights the choice. Once I get to the correct page, the highlight for the current page always goes to Home. Is there a way to fix this so that the highlight always stays under the current page?

    Thanks in advance!
    Sincerely,
    Jason C.

Viewing 1 replies (of 1 total)
  • WordPress used the css class ‘current_page_item’ for the page you are on; if you are on a child page, it will use ‘current_page_parent’ (or even current_page_ancestor if on the child of a child)

    Eg: <li class="page_item page-item-22 current_page_item"><a href="https://onestopindustrialsupply.com/about/" title="About">About</a>

    Looks like you need to combine these classes with your jquery lavaLamp script.

Viewing 1 replies (of 1 total)
  • The topic ‘Need help with template not showing current page highlight’ is closed to new replies.