My navbar collapse button is not aligning the items in the dropdown properly. I suspect it has to do with the way I have structured the divs. How can this issue be fixed?
<nav class="navbar navbar-expand-md navbar-light mb-4 row">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarCollapse" aria-controls="navbarCollapse" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="col-4 text-left collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav mr-auto">
<li class="nav-item" id="better_candidate">
<a class="nav-link" href="">A Better Candidate</a>
<li class="nav-item" id="better_employer">
<a class="nav-link" href="">A Better Employer</a>
<li class="nav-item" id="better_stuff">
<a class="nav-link" href="">Better Stuff</a>
</ul>
</div>
<div class="col-4 text-center">
<a class="navbar-brand" href="{% url 'a_better_place:home' %}">
A Better Place
</a>
</div>
<div class="col-4 text-right collapse navbar-collapse" id="navbarCollapse">
<ul class="navbar-nav ml-auto">
<li class="nav-item" id="about_us">
<a class="nav-link" href=""> About Us </a>
<li class="nav-item" id="contact">
<a class="nav-link" href="{% url 'a_better_place:contact' %}">
Contact
</a>
</ul>
</div>
</nav>