I'm facing an issue with the collapse-button in my bootstrap navbar not working, and I can't figure out why. Can someone please assist me in resolving this problem?
Here is the code for my navbar:
<div id="wrapper">
<div class="navbar navbar-inverse navbar-fixed-top ">
<div id="container">
<div class="navbar-header">
<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>
<a id="brand" class="navbar-brand">TEST</a>
</div>
<div class="collapse navbar-collapse">
<ul id="listleft" class="nav navbar-nav navbar-left">
<li class="active"><a href="#Home">Home</a></li>
<li><a href="#About">About</a></li>
</ul>
<ul id="listright" class="nav navbar-nav navbar-right">
<li><a href="#Contact">Contact</a></li>
<li><a href="#Blog">Blog</a></li>
</ul>
</div>
</div>
</div>
CSS for the Navbar:
.navbar-brand,
.navbar-nav li a {
line-height: 70px;
height: 70px;
padding-top: 0;
}
#brand{
font-size: 500%;
color:#FFFFFF;
}
.navbar-brand{
position:absolute;
width: 100%;
left: 0;
top: 0;
text-align: center;
margin: auto;
}
#listleft{
margin-left: 23%;
}
#listright{
margin-right: 20%;
}
ul li{
font-size: 180%;
}
#wrapper{
height: 100%;
}