Current submenu open by default

When visiting a page, the submenu of the current menu item opens automatically without it being triggered by the user.
2 Potential Diagnoses

Residual styling from the theme is affecting the menu display 22 [ + ]

If your theme’s menu styles are based on a hard-coded element wrapping the menu, those styles will still apply after replacing the menu markup, and will conflict and negatively impact the style and functionality of the menu.

View Solution

Theme replaces current menu item classes with ‘active’ class 16 [ + ]

Some theme strip out core menu classes like the current-menu-item classes and replace them with their own ‘active’ class. This forces the menu open on page load.

View Solution