Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Bootstrap Responsive Nav Open by default

I'm working on a website (http://www.nantwichfoodfestival.co.uk) where I have used Twitter Bootstrap's v 2.3.2. My issue is that the responsive nav won't close by default on a mobile device.

Can someone help me please?

Thanks

like image 489
bencarter78 Avatar asked Mar 17 '26 03:03

bencarter78


1 Answers

Oh man, because you are calling the collapse function, which you should not.

Your main.js file has

$(".collapse").collapse();

Remove this.

See demo: http://jsfiddle.net/czaLX/

like image 86
Shekhar K. Sharma Avatar answered Mar 21 '26 09:03

Shekhar K. Sharma



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!