I recently pickup up the Advaced Sidebar Pro and I was wondering if there was a method for displaying the Advanced Sidebar – Pages block as a hamburger menu on smaller screens.
While there is no direct option for making a menu into a hamburger on mobile devices, this may be accomplished with the following steps:
Add a second menu to the display location.
Set these menu options
Display highest level parent page
Enable accordion menu
Icon style = Hamburger
Include highest level parent in accordion
Close all accordion sections until clicked
Use some custom CSS to show the correct menu based on device width.
Note: The id of the menu (e.g. #block-2) may be different based on your theme and the number of menus you have on the site. If you want to send me a link to where I can see the menus I can adjust the CSS to be specific to your site.
Hi Travis,
While there is no direct option for making a menu into a hamburger on mobile devices, this may be accomplished with the following steps:
Note: The id of the menu (e.g. #block-2) may be different based on your theme and the number of menus you have on the site. If you want to send me a link to where I can see the menus I can adjust the CSS to be specific to your site.
Have a great day!