Bootstrap Navbar With Right Aligned Menu

ootstrap Navbar With Right Aligned Menu
ootstrap Navbar With Right Aligned Menu

Here in this article I am providing the Bootstrap 4.5 Navbar with right aligned menu.

Many student don’t know How to align Bootstrap navbar logo left and menu right side…So here I am providing this tutorial and here You can Download responsive Bootstrap Menu with right aligned navbar.

Just add ml-auto to positioned your menu in right side.

<ul class="navbar-nav ml-auto"></ul>
<link rel="stylesheet" rel="Stylesheet" href="css/bootstrap.min.css" >
<link rel="stylesheet" rel="Stylesheet" href="css/style.css" >

<nav class="navbar navbar-expand-lg navbar-light bg-white">
   <div class="container">
  <a class="navbar-brand" href="#"><img src="LOGO.png" width="45%" /></a>
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
    <span class="navbar-toggler-icon"></span>
  </button>
  <div class="collapse navbar-collapse" id="navbarNavDropdown">
    <ul class="navbar-nav ml-auto">
      <li class="nav-item active"><a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a></li>
      <li class="nav-item"><a class="nav-link" href="#">About Us</a></li>
      <li class="nav-item"><a class="nav-link" href="#">Varanasi Tour </a></li>
      <li class="nav-item"><a class="nav-link" href="#">Buddhist Tour </a></li>
      <li class="nav-item"><a class="nav-link" href="#">Janism Tour </a></li>
      <li class="nav-item"><a class="nav-link" href="#">Conatc Us</a></li>
    </ul>
  </div>
  </div>
</nav>

 <script type="text/javascript" src="js/jquery-3.5.1.slim.min.js"></script>
 <script type="text/javascript" src="js/bootstrap.min.js"></script>

Leave a Reply

avatar
  Subscribe  
Notify of