Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1035382
    billyboydesign
    Participant

    Hi,
    Now I can’t seem to work this one out. Can you let me know how to make the mega menu collapse faster without having to move the mouse away from it as it covers part of the page and my client doesn’t want this. It only happens only the 2nd time I click a sub level navigation tab in the same navigation tab.

    website:
    careyourway.com.au

    Click ‘our services’ (top level tab)
    Click ‘Personal care’ (sub level tab)
    Click ‘Meal preparation’ (sub level tab)…..problem viewing starts here

    Thanks

    #1035428
    Nico
    Moderator

    Hi There,

    Thanks for writing in.

    Would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks.

    #1040707
    billyboydesign
    Participant
    This reply has been marked as private.
    #1041123
    Lely
    Moderator

    Hi Vanessa,

    Thank you for the credentials.
    Please try adding the following code on Appearance > Customize > Custom > Javascript:

    jQuery(document).ready(function($){
    	$('.sub-menu li > a').click(function(){
    		$('.x-megamenu').removeClass('x-active');
    	});
    })

    Hope this helps.

    #1062826
    billyboydesign
    Participant

    Thanks that has fixed it….the only trade off is that the rollover highlights now don’t work. Hopefully client will not mind.

    #1062927
    Paul R
    Moderator

    You’re welcome! 🙂

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