Hi, I’ve created a new menu to a child theme of Enfold. I found the code here that is where the mobile menu grabs the main menu to display:
var menu = header.find(‘.main_menu ul:eq(0)’),
I was wondering if there’s a way to add to this and have the mobile menu not only display the main menu, but also display my custom menu.
Thanks,
Lizzi
Hey Lizzi
Have you tried referring to this post – http://kriesi.at/documentation/enfold/hide-menu-itemselements-on-mobile/
Best regards,
Yigit
Thank you. I am actually trying to combine two menus, not hide anything. I want my custom menu items to show up underneath the main menu items on the mobile dropdown.
I’ve created this custom menu by registering it in my child theme’s functions.php file.
Hi!
So you could add them to your main menu and choose to hide them on desktop and display only on mobile, would not that work?
Best regards,
Yigit
I got you now. Good idea. Thank you!
Lizzi
Hi!
You are welcome!
For your information, you can take a look at Enfold documentation here – http://kriesi.at/documentation/enfold/
And if there are features that you wish Enfold had, you can request them and vote the requested ones here – https://kriesi.at/support/enfold-feature-requests/
For any other questions or issues, feel free to post them here on the forum and we will gladly try to help you :)
Enjoy your weekend!
Regards,
Yigit