Mobile navigation items will be created automatically from main navigation.
HTML Example:
<!-- START: Navbar Mobile Additional Classes: .nk-navbar-left-side .nk-navbar-right-side .nk-navbar-lg .nk-navbar-overlay-content .nk-navbar-light --> <div id="nk-nav-mobile" class="nk-navbar nk-navbar-side nk-navbar-left-side nk-navbar-overlay-content hidden-lg-up"> <div class="nano"> <div class="nano-content"> <a href="#" class="nk-nav-logo"> <img src="assets/images/logo.png" alt="" width="70"> </a> <div class="nk-navbar-mobile-content"> <ul class="nk-nav"> <!-- Here will be inserted menu from [data-mobile-menu="#nk-nav-mobile"] --> </ul> </div> </div> </div> </div> <!-- END: Navbar Mobile -->
Additional classes:
.nk-navbar-left-side
– show on left side (if there is no another left side navigations);.nk-navbar-right-side
– show on right side (if there is no another right side navigations);.nk-navbar-lg
– large size;.nk-navbar-overlay-content
– show content dark overlay when opened navigation;.nk-navbar-light
– light background color;
Toggle button HTML example:
<div class="hidden-lg-up"> <a href="#" data-nav-toggle="#nk-nav-mobile"> <span class="nk-icon-burger"> <span class="nk-t-1"></span> <span class="nk-t-2"></span> <span class="nk-t-3"></span> </span> </a> </div>