Is there a way to have the off canvas menu toggle “all” sub menu items, eg if a menu item is expanded (via “dropdown-menu-toggle” class click) then all currently open levels are closed. So only to have 1 level open at a time?
I can see ‘toggled-on’ is set in 3 places in \themes\generatepress\js\menu.js but I’m not sure which one to try to edit, and best way to edit this (using child theme).