In global.js the targeted ID for expanding child menu elements is the region. This prevents us from placing the main menu block in other regions and still have functioning expandable child elements.
Fix the target selector to target the menu block itself, rather than the main menu region. This allows us to place the menu block in any region and still utilize the expandable child elements.
On line 12 of global.js, change '#main-menu-container .menu .menu-item--expanded >.icon' to 'nav.menu--main .nav .menu-item--expanded >.icon'
In global.js the targeted ID for expanding child menu elements is the region. This prevents us from placing the main menu block in other regions and still have functioning expandable child elements.
Fix the target selector to target the menu block itself, rather than the main menu region. This allows us to place the menu block in any region and still utilize the expandable child elements.
On line 12 of global.js, change '#main-menu-container .menu .menu-item--expanded >.icon' to 'nav.menu--main .nav .menu-item--expanded >.icon'