Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1258004
    garcosc
    Participant

    Hello:

    I have a site in http://andresarcos.com/dietplusfr/

    In mobile version when i click inside Concept menu option, only works when i clicked on (x-icon-angle-double-down) but i need to work in all rectangle menu. How can i fix this?

    Kind regards

    #1258081
    Thai
    Moderator

    Hi There,

    Please add the following code under Customizer > Custom > Global Javascript:

    jQuery(function($){
    	$('.x-navbar .mobile .x-nav li.menu-item-has-children>a').on('click', function(e) {
    		e.preventDefault();
    		var sub_toggle = $(this).find('.x-sub-toggle'),
    			sub_menu = sub_toggle.attr('data-target');
    		sub_toggle.toggleClass("x-active").closest('li').toggleClass("x-active");
    		$(sub_menu).slideToggle().toggleClass('in');
    	});
    });

    Hope it helps ๐Ÿ™‚

    #1258124
    garcosc
    Participant

    Itยดs works

    Thank you!

    Kind regards

    #1258135
    Thai
    Moderator

    You’re most welcome ๐Ÿ™‚

  • <script> jQuery(function($){ $("#no-reply-1258004 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>