Check out my JSFiddle link showcasing my HTML/Bootstrap code.
<body>
<h1 style="text-align:center">AntwerPay</h1>
<!--Navbar-->
<nav class="navbar navbar-inverse">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">AntwerPay</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav">
<li class=""><a href="#">Home</a></li>
<li class="dropdown">
<a class="dropdown-toggle" data-toggle="dropdown" href="#">
Areas
<span class="caret"></span>
</a>
<ul class="dropdown-menu">
<li><a href="#">Area 1</a></li>
</ul>
</li>
<li><a href="#">All Areas</a></li>
</ul>
</div>
</div>
</nav>
</body>
In the navbar, everything is currently aligned to the left which I want to change. The navbar-brand
should be on the left while the other buttons are centered. Despite trying various CSS codes I found through research, none have successfully solved this issue for me.