Looking to create a responsive collapsible navigation with two rows. The first row should contain the logo and language selector, while the second row should have the main links:
| |
| LOGO lang |
| link1 link2 link3 link4 |
Check out the progress so far on JSFiddle
I'm having trouble getting the main links to have equal width and be distributed horizontally evenly on larger viewports. The links are currently stacked very tightly.
Here is the code for the second row navigation:
<ul class="navbar-nav nav nav-pills nav-justified">
<li class="nav-item">
<a class="nav-link" href="#">Home</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown">
Categories
</a>
<div class="dropdown-menu">
<a class="dropdown-item">Cat 1</a>
<a class="dropdown-item">Cat 2</a>
<a class="dropdown-item">Cat 3</a>
<a class="dropdown-item">Cat 4</a>
</div>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Live Auction</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Contact us</a>
</li>
</ul>
Does anyone have any suggestions on how to override the classes or provide another solution? Thank you!