Drop-down submenu on the mobile version
-
Hello,
How to make the drop-down menu in the mobile menu open by clicking on the text in the menu and not on the icon?
Attachments:
You must be
logged in to view attached files.
Hello,
Try to create a main menu item with a custom link with “#” instead of URL and add the sub menu item.
Then try to add this code in theme settings > custom js:
jQuery('.mobile-nav').on('click', '.wd-nav-mobile li.menu-item-has-children > a', function(e){
e.preventDefault();
jQuery(this).parent().find('> .wd-nav-opener').click();
});
Best Regards.
Hello,
Great! It works, thanks!
Most Welcome 🙂
If you do not mind, can you please leave 5 stars rating for our theme by going here: http://themeforest.net/downloads It will allow us to release more updates and provide dedicated support in future. It would encourage our work a lot. If you like our Theme and Support.
Have a great day 🙂
Topic Closed.
Best Regards.
The topic ‘Drop-down submenu on the mobile version’ is closed to new replies.