Mobile Nav doesn't close

Home Forums Tucson – Responsive HTML5 Template Mobile Nav doesn't close

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #10027897
    thorns
    Participant

    Hi,

    the mobile nav doesn’t close when I click on a menu-item – is there a fix for it?


    #10027901
    Support2
    Keymaster

    Hello,

    To fix this, first you need to take off this part of your code:

    $(document).on('click',function(){
    $('.collapse').collapse('hide');
    })

    This part is located at the footer of document.

    After go to the (js/custom.js) file and paste this:

    $('.nav a').on('click', function(e){
    	if(!$(e.target).hasClass('dropdown-toggle')){
    		$('.navbar-collapse.in').collapse('hide');
    	}
    });

    Please, try that and let us know if you need further assistance.

    Kind Regards,

    Rodrigo.


Viewing 2 posts - 1 through 2 (of 2 total)

This topic is marked as "RESOLVED" and can not rceive new replies.