Keep parent pages & categories highlighted in child categories?
-
Hey, hopefully this is an easy one ??
Basically I’m setting up the my primary menu like below:
Page 1
Category 1
Page 2
Page 3
Page 4
Page 5and so on.
My problem is, when I’m on a post within “Category 1” or I’m viewing a child category of “Category 1” I can’t get “Page 1” to highlight because it doesn’t seem to have current-menu-ancestor or current-menu-parent in the class. Highlighting “Category 1” is no problem and highlighting “Page 1” when viewing “Category 1” is also no problem.
Does that make sense?
Any ideas how to go about sorting it please?Thanks
David
- The topic ‘Keep parent pages & categories highlighted in child categories?’ is closed to new replies.