Page Layouts

Description

Modern Admin provides different types of page layouts i.e: 1 Column, 2 Column, Content Sidebar, Content Detached Sidebar, Fixed, Static, Boxed, Light & Dark etc...

Below you can find how to use these layouts. We have provided CSS Classes & HTML Markup for usage.

TIP: These classes and markup are flexible can be remixed and extended with ease.

1 Column


CSS Classes

This table contains all classes related to the 1 column layout. This is a custom layout for full width page requirements.

All these options can be set via following classes:

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

HTML Markup

This section contains HTML Markup to create 1 column layout. You need to add the .1-column class in the <body> tag as show in below markup on line no 4. Please note that 1 column layout do not have Navigation section and it has back to Dashboard or Home page link in Navbar.

Modern has a ready to use starter kit, you can use this layout directly by using the sk-1-column.html

            
                <!DOCTYPE html>
                  <html lang="en">
                    <head></head>
                    <body data-menu="vertical-menu" class="vertical-layout vertical-menu 1-column menu-expanded">
    
                      <!-- fixed-top-->
                      <nav role="navigation" class="header-navbar navbar navbar-with-menu fixed-top navbar-dark navbar-shadow navbar-border">
                        .....
                      </nav>
    
                      <!-- BEGIN Content-->
                      <div class="content modern-content container-fluid">
                        .....
                      </div>
                      <!-- END Content-->
    
    
                      <!-- START FOOTER DARK-->
                      <footer class="footer footer-dark">
                        .....
                      </footer>
                      <!-- START FOOTER DARK-->
    
                    </body>
                  </html>