Topic: How to make a center logo Navbar with both side menus
wingfy614 pro asked 6 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!
Add comment
Marta Wierzbicka staff answered 6 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
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Answered
Specification of the issue
- ForumUser: Pro
- Premium support: No
- Technology: MDB jQuery
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No
Tags