I want to add a title in the center of the navbar-static-top.
Does anyone know how to do it?
you can try to add new div after the .navbar-custom-menu with the following style
.center-navbar{
display: block;
text-align: center;
color: white;
padding: 15px;
/* adjust based on your layout */
margin-left: 50px;
margin-right: 300px;
}
so the result looks like
<nav class="navbar navbar-static-top" role="navigation">
<!-- Sidebar toggle button -->
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<div class="navbar-custom-menu"><!-- notification etc here --></div>
<div class="center-navbar"><!-- center navbar content here --></div>
</nav>

Thanks @ikhsan017!
Any advice on getting this working for Admin LTE 2?
Most helpful comment
you can try to add new div after the
.navbar-custom-menuwith the following styleso the result looks like