Archived topic
enable toggle for custom menu
3 replies · Started by jasond on February 19, 2020
Hello
I have created a custom menu and display it with from a Hook, how to turn it into toggle hamburger menu when viewing the site on mobile?
Thanks
<?php wp_nav_menu( array( 'theme_location' => 'new-menu' ) ); ?>
Hi there,
can you share a link to your site so i can take a look ?
Thanks, David
I have submitted the link, the top left header menu is the custom menu I mentioned. Need it to turn into toggle hamburger like the main navigation when viewing on mobile device
Hi there,
This sort of thing requires custom javascript, unfortunately.
Have you considered using the secondary navigation?