tf2012
asked on
highlight active menu item
it's a standard menu using a UL & LI and a href's. I want to show a special color on the menu item for the currently displayed page.
How is this typically done?
thanks
How is this typically done?
thanks
ASKER
@leakim971
I'd like to try it but my a href's don't have classes, they are generated by wordpress. The parent li, does however, have a class of 'menu-item'
Can you show me how to reference 'li.menu-item a' with the script you posted?
thanks!
I'd like to try it but my a href's don't have classes, they are generated by wordpress. The parent li, does however, have a class of 'menu-item'
Can you show me how to reference 'li.menu-item a' with the script you posted?
thanks!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks
Open in new window
AND/OR :Open in new window
With CSS :Open in new window