Dark Layout

CSS Classes

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

All these options can be set via following classes:

Classes Description
.navbar-dark To set navbar dark color you need to add .navbar-dark class in navbar <nav> tag. Refer HTML markup line no 7.
.menu-dark To set the main navigation dark color on page .menu-dark class needs to add in navigation wrapper. Refer HTML markup line no 12.
.footer-dark To set the main footer dark color on page .footer-dark class needs to add in footer wrapper. Refer HTML markup line no 37.

HTML Markup

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

  • Line no 7: Contain the .navbar-dark class for adjusting navbar color dark.
  • Line no 12: Contain the .menu-dark class for adjusting main navigation color dark.
  • Line no 37: Contain the .footer-dark class for adjusting footer color dark.

Robust has a ready to use starter kit, you can use this layout directly by using the dark-layout.html

            
                <!DOCTYPE html>
                  <html lang="en">
                    <head></head>
                    <body data-menu="vertical-menu" class="vertical-layout vertical-menu 2-column menu-expanded">

                      <!-- navbar-fixed-top-->
                      <nav role="navigation" class="header-navbar navbar navbar-with-menu navbar-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 robust-content container-fluid">
                          <div class="content-wrapper">
                              <!-- content header-->
                              <div class="content-header row">
                                  ...
                              </div>
                              <!-- content header-->

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

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

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

                    </body>
                  </html>