Building a bootstrap naviation for website.
I\'m having some trouble working out how best to space out the nav link elements on my navbar (and continue to look good for
Use the .nav-fill
to equally space the items, and w-100
(width:100%) class to make it full width...
https://www.codeply.com/go/djlHAC3uux
<ul id="menu-main-nav" class="navbar-nav nav-fill w-100">
<li id="menu-item-42" class="nav-item menu-item menu-item-type-post_type menu-item-object-page menu-item-home current-menu-item page_item page-item-6 current_page_item menu-item-42"><a href="XXX" class="nav-link">HOME</a></li>
<li id="menu-item-963" class="nav-item menu-item menu-item-type-post_type menu-item-object-page menu-item-963"><a href="XXX" class="nav-link">SERVICES</a></li>
<li id="menu-item-40" class="nav-item menu-item menu-item-type-post_type menu-item-object-page menu-item-40"><a href="XXX" class="nav-link">ABOUT US</a></li>
<li id="menu-item-40" class="nav-item menu-item menu-item-type-post_type menu-item-object-page menu-item-40"><a href="XXX" class="nav-link">CONTACT</a></li>
</ul>
http://getbootstrap.com/docs/4.0/utilities/sizing/