I have a navbar with a menu button on the left. This menu button works when the below tags removed:
<div class="navbar-center navbar-brand" href="#">
<a class="navbar-brand">Brand</a>
</div>`
I need this BRAND title to stay but it keep messing up the functionality of the menu button
.navbar-brand {
float: none;
}
.navbar-center {
position: absolute;
width: 100%;
left: 0;
top: 0;
text-align: center;
margin: auto;
height: 100%;
}
<!-- HTML -->
<div id="content">
<nav class="navbar navbar-expand-lg navbar-light bg-light">
<div class="container-fluid">
<button type="button" id="sidebarCollapse" class="btn btn-default">
<i class="fa fa-bars fa-lg" aria-hidden="true"></i>
<span>Menu</span>
</button>
</div>
<div class="navbar-center navbar-brand" href="#"><a class="navbar-brand">Brand</a></div>
</nav>