Looking for a way to center my brand logo within my navbar with menu items positioned around it? Preferably without the use of javascript? I've tried different methods, including adjusting the Bootstrap navbar styling, but haven't found a perfect solution yet.
I attempted to center the brand by using CSS properties like:
.navbar-header {
float: left;
padding: 15px;
text-align: center;
width: 100%;
}
.navbar-brand {float: none;}
However, this only centers the brand without integrating it between the menu items as desired, instead stacking it on top of them.
I also explored the option of adding the logo directly to a menu item, which worked well on desktops but didn't look good on mobile devices due to its treatment as a regular menu item within the dropdown.
Examples of my attempts can be viewed here: http://www.bootply.com/114800 and http://www.bootply.com/114804.
Any suggestions on how to accomplish this design layout?