Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Bootstrap 3 column navigation with Center Menu"
Bootstrap 3.3.0 Snippet by
Kiraan
3.3.0
menu
navigation
Preview
HTML
CSS
View Full Screen
Fork
Fork this
22.9K
 
5 Fav
Post to Facebook
Tweet this
<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-default " role="navigation"> <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 class="business-logo-align col-md-10" > <a href="#"><!--<img class="img-responsive " src="images/logo.jpg" alt="logo"/>--> LOGO </a> </div> </div> <div class="navbar-collapse collapse"> <ul class="nav navbar-nav navbar-right"> <li class="col-md-6 col-xs-6 text-center"> <a href="#"><button type="button" class=" btn btn-default hom_nav_btn ">Log in</button></a></li> <li class="col-md-6 col-xs-6 text-center"><a href="#"><button type="button" class="btn btn-danger hom_nav_btn_red">Sign Up</button></a></li> </ul> <div class=" col-xs-9 col-sm-12 col-md-8 pd-t-10" > <ul class="nav navbar-nav navbar-centerr"> <li><a href="#" class="busi-btn-active">Click One</a></li> <li><a href="#" class="busi-btn">Click Two</a></li> <li><a href="#" class="busi-btn">Click Three</a></li> <li><a href="#" class="busi-btn">Click Four</a></li> </ul> </div> </div> </nav> Bootstrap 3 column navigation bar with Center Menu
.busi-btn{ border-radius: 0px; color: #003333 !important; font-size: 18px; font-weight: 400; } .busi-btn:hover{ border-radius: 0px; color: #ff3c2d !important; font-size: 18px; font-weight: 400; } .busi-btn-active,.busi-btn-active:hover{ border-radius: 0px; color: #ff3c2d !important; font-size: 18px; font-weight: 400; } .hom_nav_btn_red{ /* sign-up button */ border-radius: 0px; background-color:#ff3333; /* red color */ border:0px !important; font-size:18px; font-weight: 400; padding: 7px 30px; margin: 0 -25px; } .hom_nav_btn{ border-radius: 0px; color:#003333 !important; /* blue color */ font-size:18px; font-weight: 400; padding: 7px 30px; } .navbar-centerr{ float:none; margin: 0 auto; display: table; table-layout: fixed; } .business-logo-align { float: left; padding: 5px 25px; font-size: 18px; line-height: 20px; height: 50px; }
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76