Highlight both partent and child in menu
-
For this website (https://alturl.com/6eu3o) I’m trying to let wordpress highlight the current parent + current child menu item. Its working for the parent menu item on the other pages, but somehow for the child pages it only highlights the current child, iso both the child and parent.
Css:
#outheader #header #navigation #menu #nav ul li.current_page_parent a { background-image: url(../images/achtergrond/headerinfo.png); background-repeat: repeat-x; } #outheader #header #navigation #menu #nav ul li.current_page_item a { background-image: url(../images/achtergrond/headerinfo.png); background-repeat: repeat-x; } #outheader #header #navigation #menu #nav ul li.current_page_item ul li a { background-image: none; }
And if we are looking at the child’s child pages (https://tinyurl.com/c4nc4oo) we can see that nothing in the menu works.
Whats going wrong here?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Highlight both partent and child in menu’ is closed to new replies.