Style Main Nav for Child Pages?
-
When you’re on a top-level (parent) page the main nav link for that page is a different color, indicating you’re on that page. I want to have all child pages of that parent page maintain the ‘selected’ color, indicating what section you’re in. For the life of me I can’t get any css to to do this. I’ve tried standard things like, ‘li.current-page-ancestor a’ or ‘.current_page_item’ but nothing seems to work.
The problem appears to be the current-page, current_item, etc… class isn’t assigned when viewing a child page.
Any help would be appreciated.
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Style Main Nav for Child Pages?’ is closed to new replies.