• Resolved Mischa.P

    (@mischap)


    Hi,

    for my menu I’m using the standard wordpress menu. I’ve got some children in there and I’m struggling with the active menu item. When I’m on a parent page the children become the active color as well!

    Using this as css: .menu .current_page_item a {color:#000;}

    How can I exclude children from this selector? When visiting the children it works fine. Only the child is the active color then.

Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Don't highlight children if parent is active’ is closed to new replies.