Reply 172302 to: Mobile Menu – Having Sub-Items Expanded Automatically

Avatar: Rose Tyler
Rose Tyler
Support staff
September 13, 2017 at 09:05

Hello,

In our theme not such possibility by default, so please note that such question requests additional customization which is beyond our basic support scope.

You may add this code in function.php file of your child theme https://prnt.sc/gfb65z:
wp_enqueue_script('child-theme', get_stylesheet_directory_uri().'/etheme-child.js',array(),false,true);
then create etheme-child.js file in your child theme and add this code:

jQuery(document).ready(function(){
     jQuery('.icon-reorder').on('click', function(event) {
      jQuery('li.menu-item-has-children').addClass('over').find('.sub-menu').slideDown(0);
     });
});

Regards

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.