Navigation Styling

Description

Modern Admin provides flexible navigation component, which allows you to modify navigation colors, appearance of different types of content, components placement etc. This page contain all navigation styling options.

CSS Classes

All this functionality is available by setting proper classes to the navigation components and navigation itself. Below table contain all available classes that can be used with the navigation:

All these options can be set via following classes:

Classes Description
.menu-fixed To create vertical fixed navigation, you need to add .menu-fixed class in navigation <div> tag. Fore more information please check vertical-fixed-navigation.html
.menu-static To create vertical static navigation, you need to add .menu-static class in navigation <div> tag. Fore more information please check vertical-static-navigation.html
.menu-light To create light vertical navigation, you need to add .menu-light class in navigation <div> tag. Fore more information please check vertical-light-navigation.html
.menu-dark To create dark vertical navigation, you need to add .menu-dark class in navigation <div> tag. Fore more information please check vertical-dark-navigation.html
.menu-accordion Default vertical navigation type is accordion navigation. To create vertical accordion navigation, you need to add .menu-accordion class in navigation <div> tag. Fore more information please check vertical-accordion-navigation.html
.menu-collapsible To create vertical collapsible navigation, you need to add .menu-collapsible class in navigation <div> tag. Fore more information please check vertical-collapsible-navigation.html
.menu-flipped Change navigation menu position to right with the help of flipped navigation menu options. You need to add .menu-flipped class in navigation <div> tag. Fore more information please check vertical-flipped-navigation.html
.menu-native-scroll To create vertical navigation with native scroll, you need to add .menu-native-scroll class in navigation <div> tag. This navigation class is optional. Fore more information please check vertical-navigation-native-scroll.html
.menu-icon-right To create vertical navigation right side icons, you need to add .menu-icon-right class in navigation <div> tag. This navigation class is optional. Fore more information please check vertical-navigation-right-side-icons.html
.menu-bordered To create vertical bordered navigation, you need to add .menu-bordered class in navigation <div> tag. This navigation class is optional. Fore more information please check vertical-bordered-navigation.html
.disabled To disabled vertical navigation menu link, you need to add .disabled class in navigation <li> tag. This navigation class is optional. Fore more information please check vertical-disabled-navigation-link.html
.menu-shadow You can also apply navigation shadow bottom by adding .menu-shadow class in navigation <div> tag. This navigation class is optional.

HTML Markup

This section contains HTML Markup to demonstrate navigation styling options. This markup define where to add css classes to customize navigation as per your requirements.

  • Line no 12 (Navigation position options): Contain the .menu-fixed class to set navigation position fixed, here you can use any one class from .menu-fixed & .menu-static.
  • Line no 12 (Navigation color options): Contain the .menu-dark class to set navigation color dark, here you can use any one class from .menu-light & .menu-dark.
  • Line no 12 (Accordion / Collapsible): Default vertical navigation type is accordion navigation. For accordion navigation .menu-accordion class is optional to use, but if you want to make navigation collapsible you need to add .menu-collapsible class.
  • Line no 12: The rest of the navigation classes like .menu-native-scroll, .menu-icon-right, .menu-bordered & .menu-shadow are optional and cab be used on your custom requirements.
        
            <!DOCTYPE html>
              <html lang="en">
                <head></head>
                <body data-menu="vertical-menu" class="vertical-layout vertical-menu 2-column menu-expanded">

                  <!-- fixed-top-->
                  <nav role="navigation" class="header-navbar navbar-expand-sm navbar navbar-with-menu fixed-top navbar-dark navbar-shadow navbar-border">
                      ...
                  </nav>

                  <!-- BEGIN Navigation-->
                  <div class="main-menu menu-light menu-shadow menu-bordered">
                      ...
                  </div>
                  <!-- END Navigation-->

                  <!-- BEGIN Content-->
                  <div class="content app-content">
                      <div class="content-wrapper">
                          <!-- content header-->
                          <div class="content-header row">
                              ...
                          </div>
                          <!-- content header-->

                          <!-- content body-->
                          <div class="content-body">
                              ...
                          </div>
                          <!-- content body-->

                      </div>
                  </div>
                  <!-- END Content-->

                  <!-- START FOOTER DARK-->
                  <footer class="footer footer-dark">
                      ...
                  </footer>
                  <!-- START FOOTER DARK-->

                </body>
              </html>
        
        

Theme Customizer


Customize & Preview in Real Time

Menu Color Options

Layout Options

Navigation Color Options
Solid
Gradient

Solid

Gradient

Buy Now