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 --> <div id="nk-nav-mobile" class="nk-navbar nk-navbar-side nk-navbar-right-side nk-navbar-overlay-content hidden-lg-up"> <div class="nano"> <div class="nano-content"> <a href="index.html" class="nk-nav-logo"> <img src="assets/images/logo.png" alt="" width="120"> </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;.nk-navbar-right-side
– show on right side;.nk-navbar-lg
– large size;.nk-navbar-overlay-content
– show content dark overlay when opened navigation;
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>