Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Open Menu

$('.mobile-nav .menu .sub-menu li.current-menu-item,.mobile-nav .menu .sub-menu li.current-menu-ancestor,.mobile-nav .menu .sub-menu li.current-menu-parent,.mobile-nav .menu .sub-menu li.current_page_parent ').closest('ul').parent('li').addClass('sub-menu-toggled');
        $('.mobile-nav .menu .sub-menu li.current-menu-item,.mobile-nav .menu .sub-menu li.current-menu-ancestor,.mobile-nav .menu .sub-menu li.current-menu-parent,.mobile-nav .menu .sub-menu li.current_page_parent ').closest('ul').show();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Open #Menu
ADD COMMENT
Topic
Name
1+3 =