CussinSailor
Member
Posted 1 year ago #
Check out the page I'm working on here >>> http://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.
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="http://onestopindustrialsupply.com/about/" title="About">About</a>
Looks like you need to combine these classes with your jquery lavaLamp script.