Menu middle logo | Menus | HTWF

Menu middle logo

Menu live example

Back to menu documentation Menu middle logo top


    <div class="navbar navbar-default" role="navigation">
        <div class="navbar-main navbar-middle">
            <div class="container">
                <div class="navbar-header">
                    <a class="navbar-brand" href="../../index.html"><img src="../../images/logo.png" alt="logo" /></a>
                    <button type="button" class="navbar-toggle">
                        <i class="fa fa-bars"></i>
                <div class="collapse navbar-collapse">
                    <ul class="nav navbar-nav">
                        <li class="active"><a href="#">Home</a></li>
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown" aria-expanded="false">Dropdown <i class="caret"></i></a>
                            <ul class="dropdown-menu multi-level">
                                <li><a href="#">Action</a></li>
                                <li><a href="#">Another action</a></li>
                                <li><a href="#">Something else here</a></li>
                                <li><a href="#">Separated link</a></li>
                                <li><a href="#">One more separated link</a></li>
                                <li class="dropdown dropdown-submenu">
                                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">Dropdown</a>
                                    <ul class="dropdown-menu">
                                        <li><a href="#">Single item</a></li>
                        <li><a href="#">Team</a></li>
                        <li class="logo-item"><a href="#"><img src="../../images/logo.png" alt="logo"></a></li>
                        <li><a href="#">About me</a></li>
                        <li><a href="#">Portfolio</a></li>
                        <li><a href="#">Contacts</a></li>

Main settings

Name Type Description
Fixed menu CSS class To set a menu to be always visible and fixed on top add class fixed-top to header object and class navbar-fixed-top to menu obejct.
Example: <header class="fixed-top"> <div class="navbar navbar-default navbar-fixed-top" role="navigation"> ... </div> </header>.
Logo centered CSS style To center the middle menu logo add style margin-left:123px to ul nav object, replace 123 with correct margins.