How to make a center logo Navbar with both side menus


Topic: How to make a center logo Navbar with both side menus

wingfy614 pro asked 7 years ago

I need to use MDB make a center logo navbar with both side menus like this: https://i1.wp.com/sridharkatakam.com/wp-content/uploads/2016/10/genesis-split-nav.jpg?fit=1552%2C934&ssl=1 May you show me how? thanks!

Marta Szymanska staff pro premium answered 7 years ago

Hi, try this code:
<!--Navbar-->
<nav class="navbar navbar-expand-lg navbar-light white">

 <div class="container">

  <!-- Collapse button -->
  <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#basicExampleNav" aria-controls="basicExampleNav"
  aria-expanded="false" aria-label="Toggle navigation">
   <span class="navbar-toggler-icon"></span>
  </button>

  <!-- Collapsible content -->
  <div class="collapse navbar-collapse justify-content-center font-weight-bold" id="basicExampleNav">

    <!-- Links -->
    <ul class="navbar-nav">
     <li class="nav-item">
      <a class="nav-link" href="#">Link 1</a>
     </li>
     <li class="nav-item">
      <a class="nav-link" href="#">Link 2</a>
     </li>
     <li class="nav-item">
      <a class="nav-link" href="#">Link 3</a>
     </li>

    </ul>
    <!-- Links -->

    <!-- Navbar brand -->
    <a class="navbar-brand px-lg-4 mr-0" href="#">
     <img src="https://mdbootstrap.com/img/logo/mdb-transparent.png" height="30" alt="">
    </a>

    <!-- Links -->
    <ul class="navbar-nav">
     <li class="nav-item">
      <a class="nav-link" href="#">Link 4</a>
     </li>
     <li class="nav-item">
      <a class="nav-link" href="#">Link 5</a>
     </li>
     <li class="nav-item">
      <a class="nav-link" href="#">Link 6</a>
     </li>
    </ul>
    <!-- Links -->

   </div>

</nav>
<!--/.Navbar-->
Best, Marta
Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: No
  • Technology: MDB jQuery
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No