"Vertical menu with hightlight"
Bootstrap 3.2.0 Snippet by xQuince

<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.2.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 ----------> <div class="col-md-3 column margintop20"> <ul class="nav nav-pills nav-stacked"> <li class="active"> <a href="#"></span> Home</a> <ul class="nav nav-list"> <li><a href="#">Submenu1.1</a></li> <li><a href="#">Submenu1.2</a></li> <li><a href="#">Submenu1.3</a></li> </ul> </li> <li><a href="#"> Option 1</a></li> <li><a href="#" class="active2"> Option 2 (active)</a></li> <li><a href="#"></span> Option 3</a></li> <li><a href="#"></span> Option 4</a></li> <li><a href="#"></span> Option 5</a></li> </ul> </div>
.nav { background-color: #EBE8F7; } .nav-pills>li.active>a { color: #fff; background-color: #A349A4; } .margintop20 { margin-top:20px; } .nav-pills>li>a { border-radius: 0px; } a { color: #000; text-decoration: none; } .nav-pills>li.active>a:hover, .nav-pills>li>a:hover { color:#000; text-decoration: none; background-color: #EBE8F7; } .nav-stacked>li+li { margin-top: 0px; margin-left: 0; border-bottom:1px solid #dadada; border-left:1px solid #dadada; border-right:1px solid #dadada; } .active2 { border-right:4px solid #A349A4; }

Related: See More


Questions / Comments: