Airi
Fix Mobile Menu
Airi automatically closes the mobile sub menu when any of the links are clicked, and also adds an extra sub menu toggle icon. To fix both of these issues, install the TC Custom JavaScript plugin then go to Appearance > Custom JavaScript and add the following:
1 2 3 4 5 6 7 |
jQuery(document).ready(function($){ jQuery('body.mega-menu-menu-1 #site-navigation').unbind(); jQuery("body.mega-menu-menu-1 .header-search-cart").remove(); jQuery("body.mega-menu-menu-1 .header-mobile-menu").remove(); jQuery("body.mega-menu-menu-1 #mega-menu-wrap-menu-1 .subnav-toggle").remove(); jQuery("body.mega-menu-menu-1 .main-navigation").removeClass('main-navigation'); }); |