Jump to content
Sign in to follow this  
Amanddy

[Solved] Mobile meniu dont slide back after click.

Recommended Posts

Amanddy

Hello. Im making with DMS a ONE PAGE web site,  so my hyperlinks in navigation is "#aboutus" and its sliding, and all is nice on desctop,  but in mobile version, you click on the Menu, you click on menu item, it slides down to the correct section, but menu is always there.  how to make it so it gone after clinking?

http://www.mobilehotfun.dk/

Share this post


Link to post
Share on other sites
Ray

Add this to "Custom > Custom Scripts"

<script type="text/javascript">
  jQuery(document).ready(function($) {
	
    $('.pl-mobile-menu a').on('click', function(){
      	
       var container = $(this).closest('.pl-mobile-menu');
      
       container.hide();
    });
});
</script>

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×