"NavBar Collapsed all the Time"
Bootstrap 3.3.0 Snippet by protonus

<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/3.3.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <nav class="navbar navbar-inverse navbar-fixed-top"> <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> <a class="navbar-brand" href="/"><img id="header-image">Logo</a> </div> <div class="collapse navbar-collapse"> <ul class="nav navbar-nav navbar-right"> <li class="dropdown"> <a href="#" class="dropdown-toggle" data-toggle="dropdown"> <div class="menu-bar"></div> <div class="menu-bar"></div> <div class="menu-bar"></div> </a> <ul class="dropdown-menu" id="number-list"> <ul class="list-inline lefties"> <li class="active lefties-item"><a href="index.html">Home</a></li> <li class="lefties-item"><a href="blog.html">Blog</a></li> <li class="lefties-item"><a href="gallery.html">Gallery</a></li> <li class="lefties-item"><a href="about.html">About</a></li> <li class="lefties-item"><a href="contact.html">Contact</a></li> </ul> </ul> </li> </ul> </div> </nav>
.menu-bar { width: 22px; height: 2px; background-color: white; margin: 6px ; border-radius: 1px; } #number-list.dropdown-menu { width: 270px; } a.dropdwon-toggle { padding-left: 10px; } ul.lefties:after { clear: both; display: block; content: ""; } .lefties-item{ float: left; }

Related: See More


Questions / Comments: