CSS Classes

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

All these options can be set via following classes:

Classes Description
.2-columns You can create 2 columns layout by adding .2-columns class in <body> tag.

HTML Markup

This section contains HTML Markup to create 2 columns layout. You need to add the .2-columns class in the <body> tag as show in below. This layout has a navigation and content sections with common header & footer.

Frest has a ready to use starter kit, you can use this layout directly by using the sk-layout-2-columns.html

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

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

                  <!-- START Main Menu-->
                  <div class="main-menu menu-fixed menu-light menu-accordion menu-shadow expanded">
                    .....
                  </div>
                  <!-- END Main Menu-->

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

                      <!-- Content-wrapper-->
                      <div class="content-wrapper">
                        .....
                      </div>

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

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

                </body>
              </html>