[Fixed] Bootstrap collapsed menu doesn’t close on click

So this time I was working on the bootstrap 4 When I resized the web page to check menu bar on mobile. It wasn’t collapsing at all. I did some research and found some javascript code. But that wasn’t useful at all.

After pulling my hair for a couple of hours. I found I put javascript older version and the order of javascript library and bootstrap wasn’t in order.

I put my javascript file and bootstrap files in the footer and it started working like charm.

bootstrap menu collapse issue

I hope it will help you guys.

Cheers!

Posted by | View Post | View Group