Menu, show top level item with first level child but enable hover for 2nd level
-
Hello, I’m trying to figure out the following, let’s say you have a menu with 3 top items:
(Item 1) (Item 2) (Item 3)
When the browser has navigated to Item 1, it only shows the children of Item 1, children of Item 2 & 3 are invisble:
>(Item 1) (Item 2) (Item 3)
(Item 1 child a) (Item 1 child b) (Item 1 child c)However, underneath child a, there are again 3 children which only should be displayed on hover:
>(Item 1) (Item 2) (Item 3)
(Item 1 child a:hover) (Item 1 child b) (Item 1 child c)
(child a-a) (child a-b) (child a-c) (<- should only be visible upon hover event)I’m trying to solve this through css but so far I only managed to select all child classes through classes like .current-menu-ancestor. Even if I use things like #menu-item-xxx, the children of that item also get selected.
However, I’d like to create a menu which displays the first level of children of the active parent whilst allowing a hover for the last level. Am I missing something here?
- The topic ‘Menu, show top level item with first level child but enable hover for 2nd level’ is closed to new replies.