Title: Core/Navigation with multiple sub menus
Last modified: May 11, 2024

---

# Core/Navigation with multiple sub menus

 *  [bjmash](https://wordpress.org/support/users/bjmash/)
 * (@bjmash)
 * [1 year, 12 months ago](https://wordpress.org/support/topic/core-navigation-with-multiple-sub-menus/)
 * I am using the core/navigation block to set up a navigation that has multiple
   levels of sub menus.
 * This is fine, however I want the menus to open on click, rather than hover. To
   achieve this I select ‘open on click’ from options in the editor. Perfect!
 * Now on the front end, as expected the submenu opens fine on click, and then the
   next level sub menu opens fine on click. Now if I want to open up another submenu
   from the second level, I go to click it but the whole menu closes. This is because
   the “aria-expanded” label gets changed to “false” on all level of submenus when
   I click twice within the submenu, or try and change the focus to a different 
   link.
 * I expect the first submenu to stay open, as I open and close the next level of
   links within it. Then if I clicked out of the entire nav, all submenus will close.
 * How can I change the how this functions?
 * I realise that may have got confusing so here is a screen recording of the issue–
   [https://capture.dropbox.com/aI0dfUVZfYFsWzhv](https://capture.dropbox.com/aI0dfUVZfYFsWzhv)
 * Thanks
 * Ash
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcore-navigation-with-multiple-sub-menus%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

The topic ‘Core/Navigation with multiple sub menus’ is closed to new replies.

## Tags

 * [sub-menu](https://wordpress.org/support/topic-tag/sub-menu/)

 * In: [Everything else WordPress](https://wordpress.org/support/forum/miscellaneous/)
 * 0 replies
 * 2 participants
 * Last reply from: [bjmash](https://wordpress.org/support/users/bjmash/)
 * Last activity: [1 year, 12 months ago](https://wordpress.org/support/topic/core-navigation-with-multiple-sub-menus/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
