Menus

Menus and headers documentation

Menu general settings

Menu types


Main settings

Name Type Description
Menu animations HTML Add attribute data-menu-anima="animation-name" to header object. Example: <header data-menu-anima="fade-bottom"> ... </header>. You can add the following animations: fade-in, fade-in, fade-in, fade-left, fade-right, fade-top, fade-bottom, show-scale, pulse, pulse-fast, pulse-horizontal, pulse-vertical, slide-right-left, slide-top-bottom.
Plugin dependency

This feature require Animations component (../css/animations.css)

Complete animations documentation here
Separator HTML Add the code <li role="separator" class="divider"></li> into a ul dropdown menu to visually split the items.
Hide on scroll CSS class To hide a menu section on page scroll add class scroll-hide to object you want to hide. Scroll hide is a feature of Javascript and CSS.
Complete documenteation here
Show on scroll CSS class To show a menu section on page scroll add class show-hide to object you want to hide. Scroll show is a feature of Javascript and CSS.
Complete documenteation here
Scroll class change CSS class You can change CSS classes of menu on page scroll. Scroll class change is a feature of Javascript and CSS. Complete documenteation here
Transparent menu CSS You can convert any menu to the transparent version by add classes bg-transparent, menu-transparent to header object. You should add also the class transparent-header to body object. Example:
<header class="bg-transparent menu-transparent scroll-change">
    ...
</header>
Live preview
Right menu CSS class To move menu on right position add class navbar-right to ul menu.
Example:
<ul class="nav navbar-nav navbar-right">
    <li class="active"><a href="#">Home</a></li>
    ...
</ul>
Active menu item CSS class To set te current active item add classes current-active active to li menu item.
One-page scroll menu CSS class To set a one-page menu that scroll on differents areas of the same page add class one-page-menu to menu object. Example: <ul class="nav navbar-nav one-page-menu"> ... </ul>.
Scroll spy Mixed Scroll spy automatically update links in a navigation list based on scroll position. Add attributes data-spy="scroll" data-target="#menu-id" to content container, add id="menu-id" to menu object. To enabled scroll spy to all page insert the code in the body. Attribute data-offset="123" set the top offset in px for scroll position. Change it until you get perfect position detection.

Example:
<body data-spy="scroll" data-target="#menu-demo" data-offset="250">
    ...
    <aside id="menu-demo" class="sidebar">
        ...
    </aside>
    ... 
</body>

Fixed menu CSS class To set a always visible and fixed on top menu 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>
Side menu Mixed Side menu need you add class side-menu-container to body object. Example: <body class="side-menu-container"> ... </body>. Side menu use the MetisMenu plugin.

Full width size CSS class To set a full width horizontal menu add class wide-area to navbar object. Example: <header><div class="navbar navbar-default wide-area" role="navigation"> ... </div></header>.
Menu height HTML attribute To set the header height add attribute data-menu-height to header object. Example: <header data-menu-height="150"> ... </header>.
Retina logo HTML Replace the logo image of the header with this two images:
<img class="logo-default" src="" alt="" />
<img class="logo-retina" src="" alt="" />

Usage

    <header class="demo">
    <div class="navbar navbar-default" role="navigation">
        <!--NAVBAR MAIN-->
        <div class="navbar navbar-main">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle">
                        <i class="fa fa-bars"></i>
                    </button>
                    <a class="navbar-brand" href="index.html"><img src="images/logo.png" alt="logo" /></a>
                </div>
                <div class="collapse navbar-collapse">
                    <!-- MAIN MENU -->
                    <ul class="nav navbar-nav">
                        <li class="active"><a href="#">Home</a></li>
                    </ul>
                    <!-- RIGHT AREA -->
                    <div class="nav navbar-nav navbar-right">
                        ...
                    </div>
                </div>
            </div>
        </div>
    </div>
</header>
    <header class="demo">
    <div class="navbar navbar-default" role="navigation">
        <!--NAVBAR MINI-->
        <div class="navbar-mini scroll-hide">
            <div class="container">
                <!-- LEFT AREA -->
                <div class="nav navbar-nav navbar-left">
                    ...
                </div>
                <!-- RIGHT AREA -->
                <div class="nav navbar-nav navbar-right">
                    ...
                </div>
            </div>
        </div>
        <!--NAVBAR BIG-->
        <div class="navbar navbar-big scroll-hide">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle">
                        <i class="fa fa-bars"></i>
                    </button>
                    <a class="navbar-brand" href="index.html"><img src="logo.png" alt="logo" /></a>
                </div>
                <div class="collapse navbar-collapse">
                    <!-- MAIN MENU -->
                    <ul class="nav navbar-nav">
                        <li><a href="#">Home</a></li>
                    </ul>
                    <!-- RIGHT AREA -->
                    <div class="nav navbar-nav navbar-right">
                        ...
                    </div>
                </div>
            </div>
        </div>
        <!--NAVBAR MAIN-->
        <div class="navbar navbar-main">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle">
                        <i class="fa fa-bars"></i>
                    </button>
                    <a class="navbar-brand" href="index.html"><img src="images/logo.png" alt="logo" /></a>
                </div>
                <div class="collapse navbar-collapse">
                    <!-- MAIN MENU -->
                    <ul class="nav navbar-nav">
                        <li class="active"><a href="#">Home</a></li>
                    </ul>
                    <!-- RIGHT AREA -->
                    <div class="nav navbar-nav navbar-right">
                        ...
                    </div>
                </div>
            </div>
        </div>
    </div>
</header>


Menu sections

The menu sections are areas that can be conbined together one below the other. They are available only for the classic menu type. Click the button below for a live preview of all the sections.

Live preview

Usage

    <header>
    <div class="navbar navbar-default" role="navigation">
        <!--NAVBAR MINI-->
        <div class="navbar-mini scroll-hide">
            <div class="container">
                <!-- LEFT AREA -->
                <div class="nav navbar-nav navbar-left">
                    ...
                </div>
                <!-- RIGHT AREA -->
                <div class="nav navbar-nav navbar-right">
                    ...
                </div>
            </div>
        </div>
        <!--NAVBAR BIG-->
        <div class="navbar navbar-big scroll-hide">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle">
                        <i class="fa fa-bars"></i>
                    </button>
                    <a class="navbar-brand" href="index.html"><img src="logo.png" alt="logo" /></a>
                </div>
                <div class="collapse navbar-collapse">
                    <!-- MAIN MENU -->
                    <ul class="nav navbar-nav">
                        <li><a href="#">Home</a></li>
                    </ul>
                    <!-- RIGHT AREA -->
                    <div class="nav navbar-nav navbar-right">
                        ...
                    </div>
                </div>
            </div>
        </div>
        <!--NAVBAR MAIN-->
        <div class="navbar navbar-main">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle">
                        <i class="fa fa-bars"></i>
                    </button>
                    <a class="navbar-brand" href="index.html"><img src="images/logo.png" alt="logo" /></a>
                </div>
                <div class="collapse navbar-collapse">
                    <!-- MAIN MENU -->
                    <ul class="nav navbar-nav">
                        <li class="active"><a href="#">Home</a></li>
                    </ul>
                    <!-- RIGHT AREA -->
                    <div class="nav navbar-nav navbar-right">
                        ...
                    </div>
                </div>
            </div>
        </div>
    </div>
</header>
<div class="navbar-mini scroll-hide">
    <div class="container">
        <div class="nav navbar-nav navbar-left">
            <span><i class="fa fa-phone"></i>(02) 123455699</span>
            <hr />
            <span><i class="fa fa-envelope-o"></i>info@company.com</span>
        </div>
        <div class="nav navbar-nav navbar-right">
            <ul class="nav navbar-nav lan-menu">
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown"><img src="images/en.png" />EN <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <li><a href="#"><img src="images/it.png" />IT</a></li>
                    </ul>
                </li>
            </ul>
            <form class="navbar-form" role="search">
                <div class="input-group">
                    <input type="text" class="form-control" placeholder="Search for...">
                    <span class="input-group-btn">
                        <button class="btn btn-default" type="submit">GO</button>
                    </span>
                </div>
            </form>
            <div class="minisocial-group">
                <a target="_blank" href="#"><i class="fa fa-facebook first"></i></a>
                <a target="_blank" href="#"><i class="fa fa-twitter"></i></a>
                <a target="_blank" href="#"><i class="fa fa-instagram"></i></a>
                <a target="_blank" href="#"><i class="fa fa-youtube"></i></a>
                <a target="_blank" href="#"><i class="fa fa-linkedin"></i></a>
                <a target="_blank" href="#"><i class="fa fa-pinterest"></i></a>
                <a target="_blank" href="#"><i class="fa fa-google-plus"></i></a>
            </div>
        </div>
    </div>
</div>
<div class="navbar navbar-big scroll-hide">
    <div class="container">
        <div class="navbar-header">
            <button type="button" class="navbar-toggle">
                <i class="fa fa-bars"></i>
            </button>
            <a class="navbar-brand" href="index.html"><img src="images/logo.png" alt="logo" /></a>
        </div>
        <div class="collapse navbar-collapse">
            <ul class="nav navbar-nav">
                <li><a href="#">Home</a></li>
                <li class="dropdown">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">About <span class="caret"></span></a>
                    <ul class="dropdown-menu">
                        <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 link</a></li>
                    </ul>
                </li>
            </ul>
            <div class="nav navbar-nav navbar-right">
                <form class="navbar-form" role="search">
                    <!--SEARCH B-->
                    <div class="input-group">
                        <input type="text" class="form-control" placeholder="Search for...">
                        <span class="input-group-btn">
                            <button class="btn btn-default" type="submit">GO</button>
                        </span>
                    </div>
                </form>
                <!--SOCIAL ICONS-->
                <div class="btn-group navbar-social">
                    <div class="btn-group social-group">
                        <a target="_blank" href="#"><i class="fa fa-facebook-square"></i></a>
                        <a target="_blank" href="#"><i class="fa fa-twitter-square"></i></a>
                        <a target="_blank" href="#"><i class="fa fa-instagram"></i></a>
                        <a target="_blank" href="#"><i class="fa fa-youtube-square"></i></a>
                    </div>
                </div>
                <ul class="nav navbar-nav lan-menu">
                    <li class="dropdown">
                        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><img src="images/en.png" />EN <span class="caret"></span></a>
                        <ul class="dropdown-menu">
                            <li><a href="#"><img src="images/it.png" />IT</a></li>
                        </ul>
                    </li>
                </ul>
                <div class="navbar-left custom-area">
                    <img src="images/custom-area.png" />
                </div>
            </div>
        </div>
    </div>
</div>
<header class="fixed-top">
    <div class="navbar navbar-default navbar-fixed-top" role="navigation">
        <div class="navbar-mini scroll-hide">
            <div class="container">
                <div class="nav navbar-nav navbar-left">
                    <span><i class="fa fa-phone"></i>(02) 123455699</span>
                    <hr />
                    <span><i class="fa fa-envelope-o"></i>info@company.com</span>
                </div>
                <div class="nav navbar-nav navbar-right">
                    <ul class="nav navbar-nav lan-menu">
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown"><img src="images/en.png" />EN <span class="caret"></span></a>
                            <ul class="dropdown-menu">
                                <li><a href="#"><img src="images/it.png" />IT</a></li>
                            </ul>
                        </li>
                    </ul>
                    <form class="navbar-form" role="search">
                        <div class="input-group">
                            <input type="text" class="form-control" placeholder="Search for...">
                            <span class="input-group-btn">
                                <button class="btn btn-default" type="submit">GO</button>
                            </span>
                        </div>
                    </form>
                    <div class="minisocial-group">
                        <a target="_blank" href="#"><i class="fa fa-facebook first"></i></a>
                        <a target="_blank" href="#"><i class="fa fa-twitter"></i></a>
                        <a target="_blank" href="#"><i class="fa fa-instagram"></i></a>
                        <a target="_blank" href="#"><i class="fa fa-youtube"></i></a>
                        <a target="_blank" href="#"><i class="fa fa-linkedin"></i></a>
                        <a target="_blank" href="#"><i class="fa fa-pinterest"></i></a>
                        <a target="_blank" href="#"><i class="fa fa-google-plus"></i></a>
                    </div>
                </div>
            </div>
        </div>
        <!--NAVBAR BIG-->
        <div class="navbar navbar-big scroll-hide">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle">
                        <i class="fa fa-bars"></i>
                    </button>
                    <a class="navbar-brand" href="index.html"><img src="images/logo.png" alt="logo" /></a>
                </div>
                <div class="collapse navbar-collapse">
                    <ul class="nav navbar-nav">
                        <li><a href="#">Home</a></li>
                        <li class="dropdown">
                            <a href="#" class="dropdown-toggle" data-toggle="dropdown">About <span class="caret"></span></a>
                            <ul class="dropdown-menu">
                                <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>
                            </ul>
                        </li>
                    </ul>
                    <div class="nav navbar-nav navbar-right">
                        <form class="navbar-form" role="search">
                            <!--SEARCH B-->
                            <div class="input-group">
                                <input type="text" class="form-control" placeholder="Search for...">
                                <span class="input-group-btn">
                                    <button class="btn btn-default" type="submit">GO</button>
                                </span>
                            </div>
                            <!--SEARCH C-->
                            <div class="search-box-menu">
                                <div class="search-box scrolldown">
                                    <input type="text" class="form-control" placeholder="Search for...">
                                </div>
                                <button type="button" class="btn btn-default btn-search">
                                    <span class="fa fa-search"></span>
                                </button>
                            </div>
                        </form>
                        <!--SOCIAL ICONS-->
                        <div class="btn-group navbar-social">
                            <div class="btn-group social-group">
                                <a target="_blank" href="#"><i class="fa fa-facebook-square"></i></a>
                                <a target="_blank" href="#"><i class="fa fa-twitter-square"></i></a>
                                <a target="_blank" href="#"><i class="fa fa-instagram"></i></a>
                                <a target="_blank" href="#"><i class="fa fa-youtube-square"></i></a>
                            </div>
                        </div>
                        <ul class="nav navbar-nav lan-menu">
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown"><img src="images/en.png" />EN <span class="caret"></span></a>
                                <ul class="dropdown-menu">
                                    <li><a href="#"><img src="images/it.png" />IT</a></li>
                                </ul>
                            </li>
                        </ul>
                        <div class="navbar-left custom-area">
                            <img src="images/custom-area.png" />
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!--NAVBAR MAIN-->
        <div class="navbar navbar-main">
            <div class="container">
                <div class="navbar-header">
                    <button type="button" class="navbar-toggle">
                        <i class="fa fa-bars"></i>
                    </button>
                    <a class="navbar-brand" href="index.html"><img src="images/logo.png" alt="logo" /></a>
                </div>
                <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">About <span class="caret"></span></a>
                            <ul class="dropdown-menu">
                                <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>
                            </ul>
                        </li>
                    </ul>
                    <div class="nav navbar-nav navbar-right">
                        <form class="navbar-form" role="search">
                            <!--SEARCH B-->
                            <div class="input-group">
                                <input type="text" class="form-control" placeholder="Search for...">
                                <span class="input-group-btn">
                                    <button class="btn btn-default" type="submit">GO</button>
                                </span>
                            </div>
                            <!--SEARCH C-->
                            <div class="search-box-menu">
                                <div class="search-box scrolldown">
                                    <input type="text" class="form-control" placeholder="Search for...">
                                </div>
                                <button type="button" class="btn btn-default btn-search">
                                    <span class="fa fa-search"></span>
                                </button>
                            </div>
                        </form>
                        <!--SOCIAL ICONS-->
                        <div class="btn-group navbar-social">
                            <div class="btn-group social-group">
                                <a target="_blank" href="#"><i class="fa fa-facebook-square"></i></a>
                                <a target="_blank" href="#"><i class="fa fa-twitter-square"></i></a>
                                <a target="_blank" href="#"><i class="fa fa-instagram"></i></a>
                                <a target="_blank" href="#"><i class="fa fa-youtube-square"></i></a>
                            </div>
                        </div>
                        <div class="custom-area">
                            <img src="images/custom-area.png" />
                        </div>
                        <ul class="nav navbar-nav lan-menu">
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown"><img src="images/en.png" />EN <span class="caret"></span></a>
                                <ul class="dropdown-menu">
                                    <li><a href="#"><img src="images/it.png" />IT</a></li>
                                </ul>
                            </li>
                        </ul>
                    </div>
                </div>
            </div>
        </div>
    </div>
</header>

Main settings

Name Type Description
Hide on scroll CSS class To hide a menu section on page scroll add class scroll-hide to object you want to hide. Scroll hide is a feature of components - base. Complete documenteation here
Show on scroll CSS class To show a menu section on page scroll add class scroll-show to object you want to hide.
Scroll show is a feature of components - base. Complete documentation here

Menu components

Search box 1

Search box 2

Social box

Shop menu

  • Wood Airplain
    1 x 299.00$

Subtotal: $299.00

View Cart Checkout

Language menu


Usage

<div class="nav navbar-nav">
    <form class="navbar-form" role="search">
        <div class="form-group">
            <input type="text" class="form-control" placeholder="Search">
        </div>
        <button type="submit" class="btn btn-default">GO</button>
    </form>
</div>
<div class="search-box-menu">
    <div class="search-box scrolldown">
        <input type="text" class="form-control" placeholder="Search for...">
    </div>
    <button type="button" class="btn btn-default btn-search">
        <span class="fa fa-search"></span>
    </button>
</div>
<div class="btn-group navbar-social">
        <div class="btn-group social-group">
            <a target="_blank" href="#"><i class="fa fa-facebook"></i></a>
            <a target="_blank" href="#"><i class="fa fa-twitter"></i></a>
            <a target="_blank" href="#"><i class="fa fa-instagram"></i></a>
            <a target="_blank" href="#"><i class="fa fa-youtube-square"></i></a>
        </div>
    </div>
</div>
<ul class="nav navbar-nav lan-menu">
    <li class="dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown">
            <img src="en.png" />EN <span class="caret"></span>
        </a>
        <ul class="dropdown-menu">
            <li><a href="#"><img src="it.png" />IT</a></li>
        </ul>
    </li>
</ul>
<div class="shop-menu-cnt">
    <i class="fa fa-shopping-cart"></i>
    <div class="shop-menu">
        <ul class="shop-cart">
            <li class="cart-item">
                <img src="../images/fusion-plane.png" alt="">
                <div class="cart-content">
                    <h5>Wood Airplain</h5>
                    <span class="cart-quantity">
                        1 x 299.00$
                    </span>
                </div>
            </li>
        </ul>
        <p class="cart-total">
            Subtotal: <span>$299.00</span>
        </p>
        <p class="cart-buttons">
            <a href="#" class="btn btn-xs cart-view">View Cart</a>
            <a href="#" class="btn btn-xs cart-checkout">Checkout</a>
        </p>
    </div>
</div>