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.

Frest has a ready to use starter kit, you can use this layout directly by using the starter kit pages from the frest-clean-bootstrap-admin-dashboard-template/starter-kit folder.

        <!DOCTYPE html>
          <html lang="en">
            <body class="vertical-layout vertical-menu-modern 2-columns fixed-footer navbar-sticky fixed-footer menu-expanded" data-menu="vertical-menu-modern">

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

              <!-- Begin Navigation-->
              <div class="main-menu menu-fixed menu-light menu-accordion menu-shadow expanded">
              <!-- End Navigation-->

              <!-- Begin Content-->
              <div class="content app-content">
              <!-- End Content-->

              <!-- Start Footer Light-->
              <footer class="footer footer-light">
              <!-- End Footer Light-->