When I click on a menu item the menu does not close. I have already checked the imports of JS and CSS and seemingly everything is OK, is there something else I need to do to run the menu?
<!-- Fixed navbar -->
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
<li class="active"><a href="#home" class="active scroll">Home</a></li>
<li><a href="#about" class="scroll">Sobre</a></li>
<li><a href="#services" class="scroll">Serviços</a></li>
<li><a href="#testimonials" class="scroll">Opiniões</a></li>
<li><a href="#gallery" class="scroll">Gallery</a></li>
<li><a href="#news" class="scroll">News</a></li>
<li><a href="#contact" class="scroll">Contact</a></li>
</ul>
</div>
</div>
</nav>
4
Answers
I’m not certain, but i think it may be dependant on jquery ui… some bootstrap features are. I can’t help much further with current knowledge of the question…
I’ve been having a lot of trouble with imports too.. you can try checking on your browser debug console to be sure everything is being load, also.. on chrome: f12, tab sources.
I hope it has been helpful.
for me works…
check this out