Description

The fixed layout has a fixed navbar, navigation menu and footer only content section is scrollable to user. In this page you can experience it. Fixed layout provide seamless UI on different screens.

CSS Classes

This table contains all classes related to the fixed layout. This is a custom layout classes for fixed 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.
.menu-fixed To set the main navigation fixed on page menu-fixed class needs to add in navigation wrapper.
.fixed-footer To set the main footer fixed on page fixed-footer class needs to add in <body> tag.

HTML Markup

This section contains HTML Markup to create fixed layout. This markup define where to add css classes to make navbar, navigation & footer fixed.

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-columns fixed-footer navbar-sticky fixed-footer 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-light">
                      ...
                  </footer>
                  <!-- START FOOTER LIGHT -->

                </body>
              </html>