Add class to top level menu items?
-
I am quite a bit new at WP themeing. =(
What is the best way to add a class to only the link for top level menu items?
specific example:
<li><a href="#" class="PopOutMenuTrigger">About Us</a> <ul> <li><a href="#">Schedule</a></li> <li><a href="#">About BJJ</a></li> <li><a href="#">Contact Us</a></li> </ul> </li>
A filter would be great, but whatever you can come up with…
This class can be in addition to the normal classes created by WP.
Thanks for whatever help you can give.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Add class to top level menu items?’ is closed to new replies.