Description

The fixed navbar layout has a fixed navbar and navigation menu and footer. Only navbar section is fixed to user. In this page you can experience it.

CSS Classes

This table contains all classes related to the fixed navbar layout. This is a custom layout classes for fixed navbar layout page requirements.

All these options can be set via following classes:

Classes Description
.navbar-sticky To set navbar fixed you need to add navbar-sticky class in <body> tag.
.fixed-top To set navbar fixed you need to add fixed-top class in <nav> tag.

HTML Markup

This section contains HTML Markup to create fixed navbar layout. This markup define where to add css classes to make navbar fixed. Navbar Menu has not spacing between navigation menu and navbar menu.

Vuesax has a ready to use starter kit, you can use this layout directly by using the starter kit pages from the vuesax-html-admin-dashboard-template/starter-kit folder.

        
            <!DOCTYPE html>
              <html lang="en">
                <head></head>
                <body data-menu="vertical-menu-modern" class="vertical-layout vertical-menu-modern 2-column navbar-sticky menu-expanded">

                  <!-- fixed-top-->
                  <nav class="header-navbar navbar-expand-lg navbar navbar-with-menu fixed-top navbar-light navbar-shadow">
                      ...
                  </nav>

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

                  <!-- BEGIN Content-->
                  <div class="content app-content">
                      .....
                  </div>
                  <!-- END Content-->

                  <!-- START FOOTER LIGHT-->
                  <footer class="footer footer-static footer-light">
                      ...
                  </footer>
                  <!-- START FOOTER LIGHT-->

                </body>
              </html>