Boxed Layout

Description

The boxed layout has a padding around the main wrapper as well as a background can be applied to it and all your content will be centered with the background flowing around it.

CSS Classes

This table contains all classes related to the boxed layout, by using these layout specific classes you can apply its css.

All these options can be set via following classes:

Classes Description
.container This is the bootstrap class, the .container class provides a responsive fixed width container To create boxed layout you need to add .container class in <body> tag.
.content-boxed-layout To create content-boxed-layout you also require to use .content-boxed-layout class in <body> tag, this class help page to identify the layout type.

HTML Markup

This section contains HTML Markup to create boxed layout page. You need to add the .boxed-layout class in the <body> tag as show in below markup on line no 4. This layout has a navigation, content and left sidebar sections with common header & footer.

  • Line no 4: Contain the and .container and .boxed-layout classes for applying boxed layout css to page.

Modern has a ready to use starter kit, you can use this layout directly by using the starter kit pages from the modern-admin/starter-kit folder.

        
            <!DOCTYPE html>
              <html lang="en">
                <head></head>
                <body data-menu="vertical-menu" class="vertical-layout vertical-menu 2-columns container content-boxed-layout menu-collapsed">

                  <!-- fixed-top-->
                  <nav role="navigation" class="header-navbar navbar-expand-sm navbar navbar-with-menu fixed-top navbar-dark navbar-shadow navbar-border">
                      ...
                  </nav>

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

                  <!-- BEGIN Content-->
                  <div class="content app-content">
                      <div class="content-wrapper">
                          <!-- content header-->
                          <div class="content-header row">
                              ...
                          </div>
                          <!-- content header-->

                          <!-- content body-->
                          <div class="content-body">
                              ...
                          </div>
                          <!-- content body-->

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


                  <!-- START FOOTER DARK-->
                  <footer class="footer footer-dark">
                      ...
                  </footer>
                  <!-- START FOOTER DARK-->

                </body>
              </html>
        
        

Theme Customizer


Customize & Preview in Real Time

Menu Color Options

Layout Options

Navigation Color Options
Solid
Gradient

Solid

Gradient

Buy Now