My goal is to achieve a navigation bar similar to the one shown in this image:
Using Bootstrap 3, the code below is what I have implemented for my navigation:
<nav class="navbar navbar-default navbar-fixed-top">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="index.php" title="Barcelona 226 Center Exclusive - Official site"><img src="../assets/images/logo.png" alt="Barcelona226"></a>
</div>
<div id="navbar" class="navbar-collapse collapse">
<ul class="nav navbar-nav navbar-right">
<li><a href="index.php">Home</a></li>
<li class="dropdown">
<a href="apartments" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Exclusive Apartments <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="../apartments">View All</a></li>
<li class="dropdown-header">4 Bedroom</li>
<li><a href="#">Superior</a></li>
<li><a href="#">Standard</a></li>
<li class="divider"></li>
<li class="dropdown-header">3 Bedroom</li>
<li><a href="#">Superior</a></li>
<li><a href="#">Superior Tuset</a></li>
</ul>
</li>
<li class="active"><a href="../rooms">Exclusive Rooms</a></li>
<li><a href="#contact">Contact and Location</a></li>
</ul>
</div>
</div>
</nav>
I am struggling to make it work as intended, any suggestions?