Edit these docs Rate these docs

Navigation

Bootstrap navigation / Bootstrap header

Note: To see more advanced implementations of Bootstrap Header and Navigation have a look at:

  1. Bootstrap Skins

  2. Bootstrap Intros


MDB provides you several useful, ready-to-use navigation layouts with various predefined navigation types.

1. Regular fixed Navbar

2. Regular non-fixed Navbar

3. Full Page Intro with a non-fixed Navbar

4. Full Page Intro with fixed Navbar

5. Full Page Intro with a fixed, transparent Navbar

6. Full Page Intro with a non-fixed, transparent Navbar

7. Double Navigation with fixed SideNav & fixed Navbar

8. Double Navigation with fixed SideNav & a non-fixed Navbar

9. Double Navigation with a hidden SideNav & fixed Navbar

10. Double Navigation with a hidden SideNav & a non-fixed Navbar

11. Double Navigation with fixed SideNav under fixed Navbar

12. Double Navigation with a hidden SideNav under fixed Navbar

13. Double Navigation with slim SideNav and fixed Navbar


Regular fixed Navbar

Website with a regular fixed Navbar. Live preview


        <!--Main Navigation-->
        <header>

          <nav class="navbar fixed-top navbar-expand-lg navbar-dark pink scrolling-navbar">
            <a class="navbar-brand" href="#"><strong>Navbar</strong></a>
            <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
              aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
              <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarSupportedContent">
              <ul class="navbar-nav mr-auto">
                <li class="nav-item active">
                  <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
                </li>
                <li class="nav-item">
                  <a class="nav-link" href="#">Features</a>
                </li>
                <li class="nav-item">
                  <a class="nav-link" href="#">Pricing</a>
                </li>
                <li class="nav-item">
                  <a class="nav-link" href="#">Opinions</a>
                </li>
              </ul>
              <ul class="navbar-nav nav-flex-icons">
                <li class="nav-item">
                  <a class="nav-link"><i class="fab fa-facebook-f"></i></a>
                </li>
                <li class="nav-item">
                  <a class="nav-link"><i class="fab fa-twitter"></i></a>
                </li>
                <li class="nav-item">
                  <a class="nav-link"><i class="fab fa-instagram"></i></a>
                </li>
              </ul>
            </div>
          </nav>

        </header>
        <!--Main Navigation-->

      

Regular non-fixed Navbar

Website with a regular fixed Navbar. Live preview


        <!--Main Navigation-->
        <header>

          <nav class="navbar navbar-expand-lg navbar-dark default-color">
            <a class="navbar-brand" href="#"><strong>Navbar</strong></a>
            <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
              aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
              <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarSupportedContent">
              <ul class="navbar-nav mr-auto">
                <li class="nav-item active">
                  <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
                </li>
                <li class="nav-item">
                  <a class="nav-link" href="#">Features</a>
                </li>
                <li class="nav-item">
                  <a class="nav-link" href="#">Pricing</a>
                </li>
                <li class="nav-item">
                  <a class="nav-link" href="#">Opinions</a>
                </li>
              </ul>
              <ul class="navbar-nav nav-flex-icons">
                <li class="nav-item">
                  <a class="nav-link"><i class="fab fa-facebook-f"></i></a>
                </li>
                <li class="nav-item">
                  <a class="nav-link"><i class="fab fa-twitter"></i></a>
                </li>
                <li class="nav-item">
                  <a class="nav-link"><i class="fab fa-instagram"></i></a>
                </li>
              </ul>
            </div>
          </nav>

        </header>
        <!--Main Navigation-->
      

Full Page Intro with a non-fixed Navbar

Website with a regular fixed Navbar. Live preview


        <html lang="en" class="full-height">

        <!--Main Navigation-->
        <header>

          <nav class="navbar navbar-expand-lg navbar-dark black">
            <div class="container">
              <a class="navbar-brand" href="#"><strong>Navbar</strong></a>
              <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
                aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
              </button>
              <div class="collapse navbar-collapse" id="navbarSupportedContent">
                <ul class="navbar-nav mr-auto">
                  <li class="nav-item active">
                    <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
                  </li>
                  <li class="nav-item">
                    <a class="nav-link" href="#">Link</a>
                  </li>
                  <li class="nav-item">
                    <a class="nav-link" href="#">Profile</a>
                  </li>
                </ul>
              </div>
            </div>
          </nav>

          <div class="view intro-2">
            <div class="full-bg-img">
              <div class="mask rgba-black-strong flex-center">
                <div class="container">
                  <div class="white-text text-center wow fadeInUp">
                    <h2>This Navbar isn't fixed</h2>
                    <h5>When you scroll down it will disappear</h5>
                    <br>
                    <p>Full page intro with background image will be always displayed in full screen mode, regardless
                      of device </p>
                  </div>
                </div>
              </div>
            </div>
          </div>

        </header>
        <!--Main Navigation-->

        <!--Main Layout-->
        <main class="text-center my-5">

          <div class="container">
            <div class="row">
              <div class="col-md-12">

                <p align="justify">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
                  incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation
                  ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
                  voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
                  proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>

              </div>
            </div>
          </div>

        </main>
        <!--Main Layout-->

      


          .view {
            background: url("https://mdbootstrap.com/img/Photos/Others/img (51).jpg")no-repeat center center;
            background-size: cover;
        }
        @media (min-width: 768px) {
            .view {
                overflow: visible;
                margin-top: -56px;
            }
        }
        .navbar {
            z-index: 1;
        }

        html,
        body,
        header,
        .view {
          height: 100%;
        }
      

Full Page Intro with a fixed Navbar

Website with a regular fixed Navbar. Live preview


      <html lang="en" class="full-height">

      <!--Main Navigation-->
      <header>

        <nav class="navbar fixed-top navbar-expand-lg navbar-dark indigo">
          <a class="navbar-brand" href="#"><strong>Navbar</strong></a>
          <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
            aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
          </button>
          <div class="collapse navbar-collapse" id="navbarSupportedContent">
            <ul class="navbar-nav mr-auto">
              <li class="nav-item active">
                <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
              </li>
              <li class="nav-item">
                <a class="nav-link" href="#">Link</a>
              </li>
              <li class="nav-item">
                <a class="nav-link" href="#">Profile</a>
              </li>
            </ul>
          </div>
        </nav>

        <div class="view intro-2">
          <div class="full-bg-img">
            <div class="mask rgba-black-light flex-center">
              <div class="container text-center white-text">
                <div class="white-text text-center wow fadeInUp">
                  <h2>This Navbar is fixed</h2>
                  <h5>It will always stay visible on the top, even when you scroll down</h5>
                  <br>
                  <p>Full page intro with background image will be always displayed in full screen mode, regardless
                    of device </p>
                </div>
              </div>
            </div>
          </div>
        </div>

      </header>
      <!--Main Navigation-->

      <!--Main Layout-->
      <main class="text-center py-5">

        <div class="container">
          <div class="row">
            <div class="col-md-12">

              <p align="justify">quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
                Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
                pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit
                anim id est laborum. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
                incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation
                ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
                voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
                proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>

            </div>
          </div>
        </div>

      </main>
      <!--Main Layout-->

    


        .view {
          background: url("https://mdbootstrap.com/img/Photos/Others/img (50).jpg")no-repeat center center;
          background-size: cover;
      }
      html,
      body,
      header,
      .view {
        height: 100%;
      }
    

Full Page Intro with a fixed, transparent Navbar

Website with a regular fixed Navbar. Live preview


        <html lang="en" class="full-height">

        <!--Main Navigation-->
        <header>

          <nav class="navbar fixed-top navbar-expand-lg navbar-dark scrolling-navbar">
            <a class="navbar-brand" href="#"><strong>Navbar</strong></a>
            <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
              aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
              <span class="navbar-toggler-icon"></span>
            </button>
            <div class="collapse navbar-collapse" id="navbarSupportedContent">
              <ul class="navbar-nav mr-auto">
                <li class="nav-item active">
                  <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
                </li>
                <li class="nav-item">
                  <a class="nav-link" href="#">Link</a>
                </li>
                <li class="nav-item">
                  <a class="nav-link" href="#">Profile</a>
                </li>
              </ul>
            </div>
          </nav>

          <div class="view intro-2" style="">
            <div class="full-bg-img">
              <div class="mask rgba-purple-light flex-center">
                <div class="container text-center white-text wow fadeInUp">
                  <h2>This Navbar is fixed and transparent</h2>
                  <br>
                  <h5>It will always stay visible on the top, even when you scroll down</h5>
                  <p>Navbar's background will switch from transparent to solid color while scrolling down</p>
                  <br>
                  <p>Full page intro with background image will be always displayed in full screen mode, regardless of
                    device </p>
                </div>
              </div>
            </div>
          </div>

        </header>
        <!--Main Navigation-->

        <!--Main Layout-->
        <main class="text-center py-5">

          <div class="container">
            <div class="row">
              <div class="col-md-12">

                <p align="justify">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
                  incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation
                  ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
                  voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
                  proident, sunt in culpa qui officia deserunt mollit anim id est laborum. Lorem ipsum dolor sit amet,
                  consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
                  enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo
                  consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat
                  nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt
                  mollit anim id est laborum.</p>

              </div>
            </div>
          </div>

        </main>
        <!--Main Layout-->

      


          .view {
            background: url("https://mdbootstrap.com/img/Photos/Others/img (40).jpg")no-repeat center center;
            background-size: cover;
        }

        .navbar {
            background-color: transparent;
        }

        .top-nav-collapse {
            background-color: #4285F4;
        }

        @media only screen and (max-width: 768px) {
            .navbar {
                background-color: #4285F4;
            }
        }

        html,
        body,
        header,
        .view {
          height: 100%;
        }
      

Full Page Intro with a non-fixed, transparent Navbar

Website with a regular fixed Navbar. Live preview


        <html lang="en" class="full-height">

        <!--Main Navigation-->
        <header>

          <nav class="navbar navbar-expand-lg navbar-dark">
            <div class="container">
              <a class="navbar-brand" href="#"><strong>Navbar</strong></a>
              <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
                aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                <span class="navbar-toggler-icon"></span>
              </button>
              <div class="collapse navbar-collapse" id="navbarSupportedContent">
                <ul class="navbar-nav mr-auto">
                  <li class="nav-item active">
                    <a class="nav-link" href="#">Home <span class="sr-only">(current)</span></a>
                  </li>
                  <li class="nav-item">
                    <a class="nav-link" href="#">Link</a>
                  </li>
                  <li class="nav-item">
                    <a class="nav-link" href="#">Profile</a>
                  </li>
                </ul>
              </div>
            </div>
          </nav>

          <div class="view intro-2">
            <div class="full-bg-img">
              <div class="mask rgba-indigo-slight flex-center">
                <div class="container">
                  <div class="white-text text-center wow fadeInUp">
                    <h2>This Navbar isn't fixed</h2>
                    <h5>When you scroll down it will disappear</h5>
                    <br>
                    <p>Full page intro with background image will be always displayed in full screen mode, regardless
                      of device </p>
                  </div>
                </div>
              </div>
            </div>
          </div>

        </header>
        <!--Main Navigation-->

        <!--Main Layout-->
        <main class="text-center py-5 mt-3">

          <div class="container">
            <div class="row">
              <div class="col-md-12">

                <p align="justify">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor
                  incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation
                  ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in
                  voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non
                  proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>

              </div>
            </div>
          </div>

        </main>
        <!--Main Layout-->

      


          .view {
            background: url("https://mdbootstrap.com/img/Photos/Others/img (42).jpg")no-repeat center center;
            background-size: cover;
        }
        @media (min-width: 768px) {
            .view {
                overflow: visible;
                margin-top: -56px;
            }
        }
        .navbar {
            z-index: 1;
        }
        .navbar {
            background-color: transparent;
        }
        .top-nav-collapse {
            background-color: #4285F4;
        }
        @media only screen and (max-width: 768px) {
            .navbar {
                background-color: #4285F4;
            }
        }

        html,
        body,
        header,
        .view {
          height: 100%;
        }
      

Double Navigation with fixed SideNav & fixed Navbar MDB Pro component

Website with a regular fixed Navbar. Live preview


        <body class="fixed-sn light-blue-skin">

          <!--Double navigation-->
          <header>
            <!-- Sidebar navigation -->
            <div id="slide-out" class="side-nav sn-bg-4 fixed">
              <ul class="custom-scrollbar">
                <!-- Logo -->
                <li>
                  <div class="logo-wrapper waves-light">
                    <a href="#"><img src="https://mdbootstrap.com/img/logo/mdb-transparent.png" class="img-fluid flex-center"></a>
                  </div>
                </li>
                <!--/. Logo -->
                <!--Social-->
                <li>
                  <ul class="social">
                    <li><a href="#" class="icons-sm fb-ic"><i class="fab fa-facebook-f"> </i></a></li>
                    <li><a href="#" class="icons-sm pin-ic"><i class="fab fa-pinterest"> </i></a></li>
                    <li><a href="#" class="icons-sm gplus-ic"><i class="fab fa-google-plus-g"> </i></a></li>
                    <li><a href="#" class="icons-sm tw-ic"><i class="fab fa-twitter"> </i></a></li>
                  </ul>
                </li>
                <!--/Social-->
                <!--Search Form-->
                <li>
                  <form class="search-form" role="search">
                    <div class="form-group md-form mt-0 pt-1 waves-light">
                      <input type="text" class="form-control" placeholder="Search">
                    </div>
                  </form>
                </li>
                <!--/.Search Form-->
                <!-- Side navigation links -->
                <li>
                  <ul class="collapsible collapsible-accordion">
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="fas fa-chevron-right"></i> Submit
                        blog<i class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">Submit listing</a>
                          </li>
                          <li><a href="#" class="waves-effect">Registration form</a>
                          </li>
                        </ul>
                      </div>
                    </li>
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="fas fa-hand-pointer-o"></i>
                        Instruction<i class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">For bloggers</a>
                          </li>
                          <li><a href="#" class="waves-effect">For authors</a>
                          </li>
                        </ul>
                      </div>
                    </li>
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="fas fa-eye"></i> About<i class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">Introduction</a>
                          </li>
                          <li><a href="#" class="waves-effect">Monthly meetings</a>
                          </li>
                        </ul>
                      </div>
                    </li>
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="fas fa-envelope-o"></i> Contact me<i
                          class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">FAQ</a>
                          </li>
                          <li><a href="#" class="waves-effect">Write a message</a>
                          </li>
                          <li><a href="#" class="waves-effect">FAQ</a>
                          </li>
                          <li><a href="#" class="waves-effect">Write a message</a>
                          </li>
                          <li><a href="#" class="waves-effect">FAQ</a>
                          </li>
                          <li><a href="#" class="waves-effect">Write a message</a>
                          </li>
                          <li><a href="#" class="waves-effect">FAQ</a>
                          </li>
                          <li><a href="#" class="waves-effect">Write a message</a>
                          </li>
                        </ul>
                      </div>
                    </li>
                  </ul>
                </li>
                <!--/. Side navigation links -->
              </ul>
              <div class="sidenav-bg mask-strong"></div>
            </div>
            <!--/. Sidebar navigation -->
            <!-- Navbar -->
            <nav class="navbar fixed-top navbar-toggleable-md navbar-expand-lg scrolling-navbar double-nav">
              <!-- SideNav slide-out button -->
              <div class="float-left">
                <a href="#" data-activates="slide-out" class="button-collapse"><i class="fas fa-bars"></i></a>
              </div>
              <!-- Breadcrumb-->
              <div class="breadcrumb-dn mr-auto">
                <p>Material Design for Bootstrap</p>
              </div>
              <ul class="nav navbar-nav nav-flex-icons ml-auto">
                <li class="nav-item">
                  <a class="nav-link"><i class="fas fa-envelope"></i> <span class="clearfix d-none d-sm-inline-block">Contact</span></a>
                </li>
                <li class="nav-item">
                  <a class="nav-link"><i class="far fa-comments"></i> <span class="clearfix d-none d-sm-inline-block">Support</span></a>
                </li>
                <li class="nav-item">
                  <a class="nav-link"><i class="fas fa-user"></i> <span class="clearfix d-none d-sm-inline-block">Account</span></a>
                </li>
                <li class="nav-item dropdown">
                  <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown"
                    aria-haspopup="true" aria-expanded="false">
                    Dropdown
                  </a>
                  <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownMenuLink">
                    <a class="dropdown-item" href="#">Action</a>
                    <a class="dropdown-item" href="#">Another action</a>
                    <a class="dropdown-item" href="#">Something else here</a>
                  </div>
                </li>
              </ul>
            </nav>
            <!-- /.Navbar -->
          </header>
          <!--/.Double navigation-->

          <!--Main Layout-->
          <main>
            <div class="container-fluid mt-5">
              <h2>Advanced Double Navigation with fixed SideNav & fixed Navbar:</h2>
              <br>
              <h5>1. Fixed side menu, hidden on small devices.</h5>
              <h5>2. Fixed Navbar. It will always stay visible on the top, even when you scroll down.</h5>
              <div style="height: 2000px"></div>
            </div>
          </main>
          <!--Main Layout-->

        </body>

      


        // SideNav Button Initialization
        $(".button-collapse").sideNav();
        // SideNav Scrollbar Initialization
        var sideNavScrollbar = document.querySelector('.custom-scrollbar');
        var ps = new PerfectScrollbar(sideNavScrollbar);

      

Double Navigation with fixed SideNav & a non-fixed Navbar MDB Pro component

Website with a regular fixed Navbar. Live preview


        <body class="fixed-sn pink-skin">

          <!--Double navigation-->
          <header>
            <!-- Sidebar navigation -->
            <div id="slide-out" class="side-nav sn-bg-4 fixed">
              <ul class="custom-scrollbar">
                <!-- Logo -->
                <li>
                  <div class="logo-wrapper waves-light">
                    <a href="#"><img src="https://mdbootstrap.com/img/logo/mdb-transparent.png" class="img-fluid flex-center"></a>
                  </div>
                </li>
                <!--/. Logo -->
                <!--Social-->
                <li>
                  <ul class="social">
                    <li><a href="#" class="icons-sm fb-ic"><i class="fab fa-facebook-f"> </i></a></li>
                    <li><a href="#" class="icons-sm pin-ic"><i class="fab fa-pinterest"> </i></a></li>
                    <li><a href="#" class="icons-sm gplus-ic"><i class="fab fa-google-plus-g"> </i></a></li>
                    <li><a href="#" class="icons-sm tw-ic"><i class="fab fa-twitter"> </i></a></li>
                  </ul>
                </li>
                <!--/Social-->
                <!--Search Form-->
                <li>
                  <form class="search-form" role="search">
                    <div class="form-group md-form mt-0 pt-1 waves-light">
                      <input type="text" class="form-control" placeholder="Search">
                    </div>
                  </form>
                </li>
                <!--/.Search Form-->
                <!-- Side navigation links -->
                <li>
                  <ul class="collapsible collapsible-accordion">
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="fas fa-chevron-right"></i> Submit
                        blog<i class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">Submit listing</a>
                          </li>
                          <li><a href="#" class="waves-effect">Registration form</a>
                          </li>
                        </ul>
                      </div>
                    </li>
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="fas fa-hand-pointer-o"></i>
                        Instruction<i class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">For bloggers</a>
                          </li>
                          <li><a href="#" class="waves-effect">For authors</a>
                          </li>
                        </ul>
                      </div>
                    </li>
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="fas fa-eye"></i> About<i class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">Introduction</a>
                          </li>
                          <li><a href="#" class="waves-effect">Monthly meetings</a>
                          </li>
                        </ul>
                      </div>
                    </li>
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="fas fa-envelope-o"></i> Contact me<i
                          class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">FAQ</a>
                          </li>
                          <li><a href="#" class="waves-effect">Write a message</a>
                          </li>
                          <li><a href="#" class="waves-effect">FAQ</a>
                          </li>
                          <li><a href="#" class="waves-effect">Write a message</a>
                          </li>
                          <li><a href="#" class="waves-effect">FAQ</a>
                          </li>
                          <li><a href="#" class="waves-effect">Write a message</a>
                          </li>
                          <li><a href="#" class="waves-effect">FAQ</a>
                          </li>
                          <li><a href="#" class="waves-effect">Write a message</a>
                          </li>
                        </ul>
                      </div>
                    </li>
                  </ul>
                </li>
                <!--/. Side navigation links -->
              </ul>
              <div class="sidenav-bg mask-strong"></div>
            </div>
            <!--/. Sidebar navigation -->
            <!-- Navbar -->
            <nav class="navbar navbar-toggleable-md navbar-expand-lg scrolling-navbar double-nav">
              <!-- SideNav slide-out button -->
              <div class="float-left">
                <a href="#" data-activates="slide-out" class="button-collapse"><i class="fas fa-bars"></i></a>
              </div>
              <!-- Breadcrumb-->
              <div class="breadcrumb-dn mr-auto">
                <p>Material Design for Bootstrap</p>
              </div>
              <ul class="nav navbar-nav nav-flex-icons ml-auto">
                <li class="nav-item">
                  <a class="nav-link"><i class="fas fa-envelope"></i> <span class="clearfix d-none d-sm-inline-block">Contact</span></a>
                </li>
                <li class="nav-item">
                  <a class="nav-link"><i class="far fa-comments"></i> <span class="clearfix d-none d-sm-inline-block">Support</span></a>
                </li>
                <li class="nav-item">
                  <a class="nav-link"><i class="fas fa-user"></i> <span class="clearfix d-none d-sm-inline-block">Account</span></a>
                </li>
                <li class="nav-item dropdown">
                  <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown"
                    aria-haspopup="true" aria-expanded="false">
                    Dropdown
                  </a>
                  <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownMenuLink">
                    <a class="dropdown-item" href="#">Action</a>
                    <a class="dropdown-item" href="#">Another action</a>
                    <a class="dropdown-item" href="#">Something else here</a>
                  </div>
                </li>
              </ul>
            </nav>
            <!-- /.Navbar -->
          </header>
          <!--/.Double navigation-->

          <!--Main Layout-->
          <main>
            <div class="container-fluid">
              <h2>Advanced Double Navigation with fixed SideNav & a non-fixed Navbar:</h2>
              <br>
              <h5>1. Fixed side menu, hidden on small devices.</h5>
              <h5>2. Non-fixed Navbar. It will disappear when you scroll down.</h5>
              <div style="height: 2000px"></div>
            </div>
          </main>
          <!--Main Layout-->

      

        // SideNav Button Initialization
        $(".button-collapse").sideNav();
        // SideNav Scrollbar Initialization
        var sideNavScrollbar = document.querySelector('.custom-scrollbar');
        var ps = new PerfectScrollbar(sideNavScrollbar);
      

Double Navigation with a hidden SideNav & fixed Navbar MDB Pro component

Website with a regular fixed Navbar. Live preview


        <body class="hidden-sn mdb-skin">

          <!--Double navigation-->
          <header>
            <!-- Sidebar navigation -->
            <div id="slide-out" class="side-nav sn-bg-4">
              <ul class="custom-scrollbar">
                <!-- Logo -->
                <li>
                  <div class="logo-wrapper waves-light">
                    <a href="#"><img src="https://mdbootstrap.com/img/logo/mdb-transparent.png" class="img-fluid flex-center"></a>
                  </div>
                </li>
                <!--/. Logo -->
                <!--Social-->
                <li>
                  <ul class="social">
                    <li><a href="#" class="icons-sm fb-ic"><i class="fab fa-facebook-f"> </i></a></li>
                    <li><a href="#" class="icons-sm pin-ic"><i class="fab fa-pinterest"> </i></a></li>
                    <li><a href="#" class="icons-sm gplus-ic"><i class="fab fa-google-plus-g"> </i></a></li>
                    <li><a href="#" class="icons-sm tw-ic"><i class="fab fa-twitter"> </i></a></li>
                  </ul>
                </li>
                <!--/Social-->
                <!--Search Form-->
                <li>
                  <form class="search-form" role="search">
                    <div class="form-group md-form mt-0 pt-1 waves-light">
                      <input type="text" class="form-control" placeholder="Search">
                    </div>
                  </form>
                </li>
                <!--/.Search Form-->
                <!-- Side navigation links -->
                <li>
                  <ul class="collapsible collapsible-accordion">
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="fas fa-chevron-right"></i> Submit
                        blog<i class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">Submit listing</a>
                          </li>
                          <li><a href="#" class="waves-effect">Registration form</a>
                          </li>
                        </ul>
                      </div>
                    </li>
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="fas fa-hand-pointer-o"></i>
                        Instruction<i class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">For bloggers</a>
                          </li>
                          <li><a href="#" class="waves-effect">For authors</a>
                          </li>
                        </ul>
                      </div>
                    </li>
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="fas fa-eye"></i> About<i class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">Introduction</a>
                          </li>
                          <li><a href="#" class="waves-effect">Monthly meetings</a>
                          </li>
                        </ul>
                      </div>
                    </li>
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="fas fa-envelope-o"></i> Contact me<i
                          class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">FAQ</a>
                          </li>
                          <li><a href="#" class="waves-effect">Write a message</a>
                          </li>
                          <li><a href="#" class="waves-effect">FAQ</a>
                          </li>
                          <li><a href="#" class="waves-effect">Write a message</a>
                          </li>
                          <li><a href="#" class="waves-effect">FAQ</a>
                          </li>
                          <li><a href="#" class="waves-effect">Write a message</a>
                          </li>
                          <li><a href="#" class="waves-effect">FAQ</a>
                          </li>
                          <li><a href="#" class="waves-effect">Write a message</a>
                          </li>
                        </ul>
                      </div>
                    </li>
                  </ul>
                </li>
                <!--/. Side navigation links -->
              </ul>
              <div class="sidenav-bg mask-strong"></div>
            </div>
            <!--/. Sidebar navigation -->
            <!-- Navbar -->
            <nav class="navbar fixed-top navbar-toggleable-md navbar-expand-lg scrolling-navbar double-nav">
              <!-- SideNav slide-out button -->
              <div class="float-left">
                <a href="#" data-activates="slide-out" class="button-collapse"><i class="fas fa-bars"></i></a>
              </div>
              <!-- Breadcrumb-->
              <div class="breadcrumb-dn mr-auto">
                <p>Material Design for Bootstrap</p>
              </div>
              <ul class="nav navbar-nav nav-flex-icons ml-auto">
                <li class="nav-item">
                  <a class="nav-link"><i class="fas fa-envelope"></i> <span class="clearfix d-none d-sm-inline-block">Contact</span></a>
                </li>
                <li class="nav-item">
                  <a class="nav-link"><i class="far fa-comments"></i> <span class="clearfix d-none d-sm-inline-block">Support</span></a>
                </li>
                <li class="nav-item">
                  <a class="nav-link"><i class="fas fa-user"></i> <span class="clearfix d-none d-sm-inline-block">Account</span></a>
                </li>
                <li class="nav-item dropdown">
                  <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown"
                    aria-haspopup="true" aria-expanded="false">
                    Dropdown
                  </a>
                  <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownMenuLink">
                    <a class="dropdown-item" href="#">Action</a>
                    <a class="dropdown-item" href="#">Another action</a>
                    <a class="dropdown-item" href="#">Something else here</a>
                  </div>
                </li>
              </ul>
            </nav>
            <!-- /.Navbar -->
          </header>
          <!--/.Double navigation-->

          <!--Main Layout-->
          <main>
            <div class="container-fluid mt-5">
              <h2>Advanced Double Navigation with a hidden SideNav & fixed Navbar:</h2>
              <br>
              <h5>1. Hidden side menu. Click "hamburger" icon in the top left corner to open it.</h5>
              <h5>2. Fixed navbar. It will always stay visible on the top, even when you scroll down.</h5>
              <div style="height: 2000px"></div>
            </div>
          </main>
          <!--Main Layout-->

        </body>


      


        // SideNav Button Initialization
        $(".button-collapse").sideNav();
        // SideNav Scrollbar Initialization
        var sideNavScrollbar = document.querySelector('.custom-scrollbar');
        var ps = new PerfectScrollbar(sideNavScrollbar);

      

Double Navigation with a hidden SideNav & a non-fixed Navbar MDB Pro component

Website with a regular fixed Navbar. Live preview


        <body class="hidden-sn grey-skin">

          <!--Double navigation-->
          <header>
            <!-- Sidebar navigation -->
            <div id="slide-out" class="side-nav sn-bg-4">
              <ul class="custom-scrollbar">
                <!-- Logo -->
                <li>
                  <div class="logo-wrapper waves-light">
                    <a href="#"><img src="https://mdbootstrap.com/img/logo/mdb-transparent.png" class="img-fluid flex-center"></a>
                  </div>
                </li>
                <!--/. Logo -->
                <!--Social-->
                <li>
                  <ul class="social">
                    <li><a href="#" class="icons-sm fb-ic"><i class="fab fa-facebook-f"> </i></a></li>
                    <li><a href="#" class="icons-sm pin-ic"><i class="fab fa-pinterest"> </i></a></li>
                    <li><a href="#" class="icons-sm gplus-ic"><i class="fab fa-google-plus-g"> </i></a></li>
                    <li><a href="#" class="icons-sm tw-ic"><i class="fab fa-twitter"> </i></a></li>
                  </ul>
                </li>
                <!--/Social-->
                <!--Search Form-->
                <li>
                  <form class="search-form" role="search">
                    <div class="form-group md-form mt-0 pt-1 waves-light">
                      <input type="text" class="form-control" placeholder="Search">
                    </div>
                  </form>
                </li>
                <!--/.Search Form-->
                <!-- Side navigation links -->
                <li>
                  <ul class="collapsible collapsible-accordion">
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="fas fa-chevron-right"></i> Submit
                        blog<i class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">Submit listing</a>
                          </li>
                          <li><a href="#" class="waves-effect">Registration form</a>
                          </li>
                        </ul>
                      </div>
                    </li>
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="fas fa-hand-pointer-o"></i>
                        Instruction<i class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">For bloggers</a>
                          </li>
                          <li><a href="#" class="waves-effect">For authors</a>
                          </li>
                        </ul>
                      </div>
                    </li>
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="fas fa-eye"></i> About<i class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">Introduction</a>
                          </li>
                          <li><a href="#" class="waves-effect">Monthly meetings</a>
                          </li>
                        </ul>
                      </div>
                    </li>
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="fas fa-envelope-o"></i> Contact me<i
                          class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">FAQ</a>
                          </li>
                          <li><a href="#" class="waves-effect">Write a message</a>
                          </li>
                          <li><a href="#" class="waves-effect">FAQ</a>
                          </li>
                          <li><a href="#" class="waves-effect">Write a message</a>
                          </li>
                          <li><a href="#" class="waves-effect">FAQ</a>
                          </li>
                          <li><a href="#" class="waves-effect">Write a message</a>
                          </li>
                          <li><a href="#" class="waves-effect">FAQ</a>
                          </li>
                          <li><a href="#" class="waves-effect">Write a message</a>
                          </li>
                        </ul>
                      </div>
                    </li>
                  </ul>
                </li>
                <!--/. Side navigation links -->
              </ul>
              <div class="sidenav-bg mask-strong"></div>
            </div>
            <!--/. Sidebar navigation -->
            <!-- Navbar -->
            <nav class="navbar navbar-toggleable-md navbar-expand-lg scrolling-navbar double-nav">
              <!-- SideNav slide-out button -->
              <div class="float-left">
                <a href="#" data-activates="slide-out" class="button-collapse"><i class="fas fa-bars"></i></a>
              </div>
              <!-- Breadcrumb-->
              <div class="breadcrumb-dn mr-auto">
                <p>Material Design for Bootstrap</p>
              </div>
              <ul class="nav navbar-nav nav-flex-icons ml-auto">
                <li class="nav-item">
                  <a class="nav-link"><i class="fas fa-envelope"></i> <span class="clearfix d-none d-sm-inline-block">Contact</span></a>
                </li>
                <li class="nav-item">
                  <a class="nav-link"><i class="far fa-comments"></i> <span class="clearfix d-none d-sm-inline-block">Support</span></a>
                </li>
                <li class="nav-item">
                  <a class="nav-link"><i class="fas fa-user"></i> <span class="clearfix d-none d-sm-inline-block">Account</span></a>
                </li>
                <li class="nav-item dropdown">
                  <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown"
                    aria-haspopup="true" aria-expanded="false">
                    Dropdown
                  </a>
                  <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownMenuLink">
                    <a class="dropdown-item" href="#">Action</a>
                    <a class="dropdown-item" href="#">Another action</a>
                    <a class="dropdown-item" href="#">Something else here</a>
                  </div>
                </li>
              </ul>
            </nav>
            <!-- /.Navbar -->
          </header>
          <!--/.Double navigation-->

          <!--Main Layout-->
          <main>
            <div class="container-fluid">
              <h2>Advanced Double Navigation with a hidden SideNav & a non-fixed Navbar:</h2>
              <br>
              <h5>1. Hidden side menu. Click "hamburger" icon in the top left corner to open it.</h5>
              <h5>2. Non-fixed navbar. When you scroll down it will disappear.</h5>
              <div style="height: 2000px"></div>
            </div>
          </main>
          <!--Main Layout-->

        </body>

      


        // SideNav Button Initialization
        $(".button-collapse").sideNav();
        // SideNav Scrollbar Initialization
        var sideNavScrollbar = document.querySelector('.custom-scrollbar');
        var ps = new PerfectScrollbar(sideNavScrollbar);

      

Double Navigation with fixed SideNav under fixed Navbar MDB Pro component

Website with a regular fixed Navbar. Live preview


        <body class="fixed-sn light-blue-skin">

          <!--Double navigation-->
          <header>
            <!-- Sidebar navigation -->
            <div id="slide-out" class="side-nav sn-bg-4 fixed">
              <ul class="custom-scrollbar">
                <!-- Logo -->
                <li>
                  <div class="logo-wrapper waves-light">
                    <a href="#"><img src="https://mdbootstrap.com/img/logo/mdb-transparent.png" class="img-fluid flex-center"></a>
                  </div>
                </li>
                <!--/. Logo -->
                <!--Social-->
                <li>
                  <ul class="social">
                    <li><a href="#" class="icons-sm fb-ic"><i class="fab fa-facebook"> </i></a></li>
                    <li><a href="#" class="icons-sm pin-ic"><i class="fab fa-pinterest"> </i></a></li>
                    <li><a href="#" class="icons-sm gplus-ic"><i class="fab fa-google-plus"> </i></a></li>
                    <li><a href="#" class="icons-sm tw-ic"><i class="fab fa-twitter"> </i></a></li>
                  </ul>
                </li>
                <!--/Social-->
                <!--Search Form-->
                <li>
                  <form class="search-form" role="search">
                    <div class="form-group md-form mt-0 pt-1 waves-light">
                      <input type="text" class="form-control" placeholder="Search">
                    </div>
                  </form>
                </li>
                <!--/.Search Form-->
                <!-- Side navigation links -->
                <li>
                  <ul class="collapsible collapsible-accordion">
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="fas fa-chevron-right"></i> Submit
                        blog<i class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">Submit listing</a>
                          </li>
                          <li><a href="#" class="waves-effect">Registration form</a>
                          </li>
                        </ul>
                      </div>
                    </li>
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="far fa-hand-pointer"></i>
                        Instruction<i class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">For bloggers</a>
                          </li>
                          <li><a href="#" class="waves-effect">For authors</a>
                          </li>
                        </ul>
                      </div>
                    </li>
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="far fa-eye"></i> About<i class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">Introduction</a>
                          </li>
                          <li><a href="#" class="waves-effect">Monthly meetings</a>
                          </li>
                        </ul>
                      </div>
                    </li>
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="far fa-envelope"></i> Contact me<i
                          class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">FAQ</a>
                          </li>
                          <li><a href="#" class="waves-effect">Write a message</a>
                          </li>
                          <li><a href="#" class="waves-effect">FAQ</a>
                          </li>
                          <li><a href="#" class="waves-effect">Write a message</a>
                          </li>
                          <li><a href="#" class="waves-effect">FAQ</a>
                          </li>
                          <li><a href="#" class="waves-effect">Write a message</a>
                          </li>
                          <li><a href="#" class="waves-effect">FAQ</a>
                          </li>
                          <li><a href="#" class="waves-effect">Write a message</a>
                          </li>
                        </ul>
                      </div>
                    </li>
                  </ul>
                </li>
                <!--/. Side navigation links -->
              </ul>
              <div class="sidenav-bg mask-strong"></div>
            </div>
            <!--/. Sidebar navigation -->
            <!-- Navbar -->
            <nav class="navbar fixed-top navbar-toggleable-md navbar-expand-lg double-nav">
              <!-- SideNav slide-out button -->
              <div class="float-left">
                <a href="#" data-activates="slide-out" class="button-collapse"><i class="fa fa-bars"></i></a>
              </div>
              <!-- Breadcrumb-->
              <div class="breadcrumb-dn mr-auto">
                <p>Material Design for Bootstrap</p>
              </div>
              <ul class="nav navbar-nav nav-flex-icons ml-auto">
                <li class="nav-item">
                  <a class="nav-link"><i class="fa fa-envelope"></i> <span class="clearfix d-none d-sm-inline-block">Contact</span></a>
                </li>
                <li class="nav-item">
                  <a class="nav-link"><i class="fa fa-comments-o"></i> <span class="clearfix d-none d-sm-inline-block">Support</span></a>
                </li>
                <li class="nav-item">
                  <a class="nav-link"><i class="fa fa-user"></i> <span class="clearfix d-none d-sm-inline-block">Account</span></a>
                </li>
                <li class="nav-item dropdown">
                  <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown"
                    aria-haspopup="true" aria-expanded="false">
                    Dropdown
                  </a>
                  <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownMenuLink">
                    <a class="dropdown-item" href="#">Action</a>
                    <a class="dropdown-item" href="#">Another action</a>
                    <a class="dropdown-item" href="#">Something else here</a>
                  </div>
                </li>
              </ul>
            </nav>
            <!-- /.Navbar -->
          </header>
          <!--/.Double navigation-->
        
          <!--Main Layout-->
          <main>
            <div class="container-fluid mt-5">
              <h2>Advanced Double Navigation with fixed SideNav & fixed Navbar:</h2>
              <br>
              <h5>1. Fixed side menu, hidden on small devices.</h5>
              <h5>2. Fixed Navbar. It will always stay visible on the top, even when you scroll down.</h5>
              <div style="height: 2000px"></div>
            </div>
          </main>
          <!--Main Layout-->
        
        </body>

      


        .navbar {
          z-index: 1040;
        }
        .side-nav {
          margin-top: 57px !important;
        }
        
        @media (min-width: 1200px){
        .fixed-sn main {
            margin-left: 20% !important;
            margin-right: 20% !important;
          }
        }

      


        // SideNav Button Initialization
        $(".button-collapse").sideNav({
          breakpoint: 1200
        });
        // SideNav Scrollbar Initialization
        var sideNavScrollbar = document.querySelector('.custom-scrollbar');
        var ps = new PerfectScrollbar(sideNavScrollbar);

      

Double Navigation with a hidden SideNav under fixed Navbar MDB Pro component

Website with a regular fixed Navbar. Live preview


        <body class="hidden-sn grey-skin">

          <!--Double navigation-->
          <header>
            <!-- Sidebar navigation -->
            <div id="slide-out" class="side-nav sn-bg-4">
              <ul class="custom-scrollbar">
                <!-- Logo -->
                <li>
                  <div class="logo-wrapper waves-light">
                    <a href="#"><img src="https://mdbootstrap.com/img/logo/mdb-transparent.png" class="img-fluid flex-center"></a>
                  </div>
                </li>
                <!--/. Logo -->
                <!--Social-->
                <li>
                  <ul class="social">
                    <li><a href="#" class="icons-sm fb-ic"><i class="fab fa-facebook"> </i></a></li>
                    <li><a href="#" class="icons-sm pin-ic"><i class="fab fa-pinterest"> </i></a></li>
                    <li><a href="#" class="icons-sm gplus-ic"><i class="fab fa-google-plus"> </i></a></li>
                    <li><a href="#" class="icons-sm tw-ic"><i class="fab fa-twitter"> </i></a></li>
                  </ul>
                </li>
                <!--/Social-->
                <!--Search Form-->
                <li>
                  <form class="search-form" role="search">
                    <div class="form-group md-form mt-0 pt-1 waves-light">
                      <input type="text" class="form-control" placeholder="Search">
                    </div>
                  </form>
                </li>
                <!--/.Search Form-->
                <!-- Side navigation links -->
                <li>
                  <ul class="collapsible collapsible-accordion">
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="fas fa-chevron-right"></i> Submit
                        blog<i class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">Submit listing</a>
                          </li>
                          <li><a href="#" class="waves-effect">Registration form</a>
                          </li>
                        </ul>
                      </div>
                    </li>
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="far fa-hand-pointer"></i>
                        Instruction<i class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">For bloggers</a>
                          </li>
                          <li><a href="#" class="waves-effect">For authors</a>
                          </li>
                        </ul>
                      </div>
                    </li>
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="far fa-eye"></i> About<i class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">Introduction</a>
                          </li>
                          <li><a href="#" class="waves-effect">Monthly meetings</a>
                          </li>
                        </ul>
                      </div>
                    </li>
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="far fa-envelope"></i> Contact me<i
                          class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">FAQ</a>
                          </li>
                          <li><a href="#" class="waves-effect">Write a message</a>
                          </li>
                          <li><a href="#" class="waves-effect">FAQ</a>
                          </li>
                          <li><a href="#" class="waves-effect">Write a message</a>
                          </li>
                          <li><a href="#" class="waves-effect">FAQ</a>
                          </li>
                          <li><a href="#" class="waves-effect">Write a message</a>
                          </li>
                          <li><a href="#" class="waves-effect">FAQ</a>
                          </li>
                          <li><a href="#" class="waves-effect">Write a message</a>
                          </li>
                        </ul>
                      </div>
                    </li>
                    <li><a class="collapsible-header waves-effect" href="#"><i class="fas fa-pencil-alt"></i>Blog</a></li>
                    <li><a class="collapsible-header waves-effect" href="#"><i class="fas fa-newspaper"></i>News</a></li>
                    <li><a class="collapsible-header waves-effect" href="#"><i class="fas fa-desktop"></i>Magazine</a></li>
                  </ul>
                </li>
                <!--/. Side navigation links -->
              </ul>
              <div class="sidenav-bg mask-strong"></div>
            </div>
            <!--/. Sidebar navigation -->
            <!-- Navbar -->
            <nav class="navbar fixed-top navbar-toggleable-md navbar-expand-lg double-nav">
              <!-- SideNav slide-out button -->
              <div class="float-left">
                <a href="#" data-activates="slide-out" class="button-collapse"><i class="fa fa-bars"></i></a>
              </div>
              <!-- Breadcrumb-->
              <div class="breadcrumb-dn mr-auto">
                <p>Material Design for Bootstrap</p>
              </div>
              <ul class="nav navbar-nav nav-flex-icons ml-auto">
                <li class="nav-item">
                  <a class="nav-link"><i class="fa fa-envelope"></i> <span class="clearfix d-none d-sm-inline-block">Contact</span></a>
                </li>
                <li class="nav-item">
                  <a class="nav-link"><i class="fa fa-comments-o"></i> <span class="clearfix d-none d-sm-inline-block">Support</span></a>
                </li>
                <li class="nav-item">
                  <a class="nav-link"><i class="fa fa-user"></i> <span class="clearfix d-none d-sm-inline-block">Account</span></a>
                </li>
                <li class="nav-item dropdown">
                  <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown"
                    aria-haspopup="true" aria-expanded="false">
                    Dropdown
                  </a>
                  <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownMenuLink">
                    <a class="dropdown-item" href="#">Action</a>
                    <a class="dropdown-item" href="#">Another action</a>
                    <a class="dropdown-item" href="#">Something else here</a>
                  </div>
                </li>
              </ul>
            </nav>
            <!-- /.Navbar -->
          </header>
          <!--/.Double navigation-->
        
          <!--Main Layout-->
          <main>
            <div class="container-fluid mt-5">
              <h2>Advanced Double Navigation with a hidden SideNav under fixed Navbar:</h2>
              <br>
              <h5>1. Hidden side menu. Click "hamburger" icon in the top left corner to open it</h5>
              <h5>2. Fixed Navbar. It will always stay visible on the top, even when you scroll down.</h5>
              <div style="height: 2000px"></div>
            </div>
          </main>
          <!--Main Layout-->
          
        </body>

      


        .navbar {
          z-index: 1040;
        }
        .side-nav {
          margin-top: 49px !important;
        }
        
        .double-nav .breadcrumb-dn p {
            color: #fff;
        }

      


        // SideNav Button Initialization
        $(".button-collapse").sideNav();
        // SideNav Scrollbar Initialization
        var sideNavScrollbar = document.querySelector('.custom-scrollbar');
        var ps = new PerfectScrollbar(sideNavScrollbar);

      

Double Navigation with slim SideNav and fixed Navbar MDB Pro component

Website with a regular fixed Navbar. Live preview


        <body class="fixed-sn mdb-skin">

          <!--Double navigation-->
          <header>
            <!-- Sidebar navigation -->
            <div id="slide-out" class="side-nav fixed wide sn-bg-1">
              <ul class="custom-scrollbar">
                <!-- Logo -->
                <li>
                  <div class="logo-wrapper sn-ad-avatar-wrapper">
                    <a href="#"><img src="https://mdbootstrap.com/img/Photos/Avatars/img%20(10).jpg" class="rounded-circle"><span>Anna Deynah</span></a>
                  </div>
                </li>
                <!--/. Logo -->
                <!-- Side navigation links -->
                <li>
                  <ul class="collapsible collapsible-accordion">
                    <li><a class="collapsible-header waves-effect arrow-r active"><i class="sv-slim-icon fas fa-chevron-right"></i> Submit blog<i class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect active">
                            <span class="sv-slim"> SL </span>
                            <span class="sv-normal">Submit listing</span></a>
                          </li>
                          <li><a href="#" class="waves-effect">
                            <span class="sv-slim"> RF </span>
                            <span class="sv-normal">Registration form</span></a>
                          </li>
                        </ul>
                      </div>
                    </li>
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="sv-slim-icon far fa-hand-point-right"></i> Instruction<i class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">
                            <span class="sv-slim"> FB </span>
                            <span class="sv-normal">For bloggers</span></a>
                          </li>
                          <li><a href="#" class="waves-effect">
                            <span class="sv-slim"> FA </span>
                            <span class="sv-normal">For authors</span></a>
                          </li>
                        </ul>
                      </div>
                    </li>
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="sv-slim-icon fas fa-eye"></i> About<i class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">
                            <span class="sv-slim"> I </span>
                            <span class="sv-normal">Introduction</span></a>
                          </li>
                          <li><a href="#" class="waves-effect">
                            <span class="sv-slim"> MM </span>
                            <span class="sv-normal">Monthly meetings</span></a>
                          </li>
                        </ul>
                      </div>
                    </li>
                    <li><a class="collapsible-header waves-effect arrow-r"><i class="sv-slim-icon far fa-envelope"></i> Contact me<i class="fas fa-angle-down rotate-icon"></i></a>
                      <div class="collapsible-body">
                        <ul>
                          <li><a href="#" class="waves-effect">
                            <span class="sv-slim"> F </span>
                            <span class="sv-normal">FAQ</span></a>
                          </li>
                          <li><a href="#" class="waves-effect">
                            <span class="sv-slim"> W </span>
                            <span class="sv-normal">Write a message</span></a>
                          </li>
                        </ul>
                      </div>
                    </li>
                    <li><a id="toggle" class="waves-effect"><i class="sv-slim-icon fas fa-angle-double-left"></i>Minimize menu</a>
                    </li>
                  </ul>
                </li>
                <!--/. Side navigation links -->
              </ul>
              <div class="sidenav-bg rgba-blue-strong"></div>
            </div>
            <!--/. Sidebar navigation -->
            <!-- Navbar -->
            <nav class="navbar fixed-top navbar-toggleable-md navbar-expand-lg scrolling-navbar double-nav">
              <!-- SideNav slide-out button -->
              <div class="float-left">
                <a href="#" data-activates="slide-out" class="button-collapse"><i class="fas fa-bars"></i></a>
              </div>
              <!-- Breadcrumb-->
              <div class="breadcrumb-dn mr-auto">
                <p>Material Design for Bootstrap</p>
              </div>
              <ul class="nav navbar-nav nav-flex-icons ml-auto">
                <li class="nav-item">
                  <a class="nav-link"><i class="fas fa-envelope"></i> <span class="clearfix d-none d-sm-inline-block">Contact</span></a>
                </li>
                <li class="nav-item">
                  <a class="nav-link"><i class="fas fa-comments"></i> <span class="clearfix d-none d-sm-inline-block">Support</span></a>
                </li>
                <li class="nav-item">
                  <a class="nav-link"><i class="fas fa-user"></i> <span class="clearfix d-none d-sm-inline-block">Account</span></a>
                </li>
                <li class="nav-item dropdown">
                  <a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown"
                    aria-haspopup="true" aria-expanded="false">
                    Dropdown
                  </a>
                  <div class="dropdown-menu dropdown-menu-right" aria-labelledby="navbarDropdownMenuLink">
                    <a class="dropdown-item" href="#">Action</a>
                    <a class="dropdown-item" href="#">Another action</a>
                    <a class="dropdown-item" href="#">Something else here</a>
                  </div>
                </li>
              </ul>
            </nav>
            <!-- /.Navbar -->
          </header>
          <!--/.Double navigation-->
        
          <!--Main Layout-->
          <main>
            <div class="container-fluid mt-5">
              <h2>Advanced Double Navigation with slim Side-nav nad fixed Navbar:</h2>
              <br>
              <h5>1. Fixed slim Side-nav, hidden on small devices.</h5>
              <h5>2. Fixed Navbar. It will always stay visible on the top, even when you scroll down.</h5>
              <div style="height: 2000px"></div>
            </div>
          </main>
          <!--Main Layout-->
        
        </body>

      


        .double-nav .breadcrumb-dn {
          color: #fff;
        }
        .side-nav.wide.slim .sn-ad-avatar-wrapper a span {
          display: none;
        }
      


          // SideNav Initialization
          $(".button-collapse").sideNav();

      
Edit these docs Rate these docs

Getting started : download & setup


Download

All the components and features are part of MDBootstrap package.

MDBootstrap (Material Design for Bootstrap) is a free (MIT Licensed) framework combining Material Design and the newest Bootstrap 4.

Click the button below to go to Download Page, where you can download MDBootstrap package.

MDBootstrap Download MDBootstrap About

MDB Pro

Using components and features labeled as MDB Pro component requires MDB Pro package.

Click the button below to learn more about MDBbootstrap Pro package

MDBootstrap Pro

Tutorials

If you need additional help to start, use our "5 min Quick Start" or "Full tutorial" resources.

5 min Quick Start Full Tutorial

Compilation

To reduce a weight of MDBootstrap package, you can compile your own, custom package containing only components and features you need.

Map of dependencies of SCSS files in MDBootstrap:


    Legend:

    '-->' means 'required'

    All free and pro files require files from 'core' catalog

    'none' means 'this component doesn't require anything except core files'

    A file wrapped by `< >` means that this file make the base component prettier but it isn't necessary for the proper working

    All PRO components require 'pro/_variables.scss' file

    scss/
    |
    |-- core/
    |   |
    |   |-- bootstrap/
    |   |	|-- _functions.scss
    |   |	|-- _variables.scss
    |   |
    |   |-- _colors.scss
    |   |-- _global.scss
    |   |-- _helpers.scss
    |   |-- _masks.scss
    |   |-- _mixins.scss
    |   |-- _typography.scss
    |   |-- _variables.scss
    |   |-- _waves.scss
    |
    |-- free/
    |   |-- _animations-basic.scss --> none
    |   |-- _animations-extended.scss --> _animations-basic.scss
    |   |-- _buttons.scss --> none
    |   |-- _cards.scss --> none <_buttons.scss>
    |   |-- _dropdowns.scss --> none <_buttons.scss>
    |   |-- _input-group.scss --> _forms.scss, _buttons.scss, _dropdowns.scss
    |   |-- _navbars.scss --> none <_buttons.scss, _forms.scss, _input-group.scss>
    |   |-- _pagination.scss --> none
    |   |-- _badges.scss --> none
    |   |-- _modals.scss --> _buttons.scss, _forms.scss (PRO --> _tabs.scss)
    |   |-- _carousels.scss --> <_buttons.scss>
    |   |-- _forms.scss --> none
    |   |-- _msc.scss --> none <_buttons.scss, _forms.scss, _cards.scss>
    |   |-- _footers.scss none <_buttons.scss> (PRO: )
    |   |-- _list-group.scss --> none
    |   |-- _tables.scss --> none (PRO: _material-select.scss, pro/_forms.scss, _checkbox.scss, pro/_buttons.scss, pro/_cards.scss, _pagination.scss, pro/_msc.scss)
    |   |-- _depreciated.scss
    |
    |-- pro/
    |   |
    |   |-- picker/
    |   |   |-- _default.scss --> none
    |   |   |-- _default-time.scss --> _default.scss, free/_forms.scss, free/_buttons.scss, pro/_buttons.scss, free/_cards.scss
    |   |   |-- _default-date.scss --> _default.scss, free/_forms.scss
    |   |
    |   |-- sections/
    |   |   |-- _templates.scss --> _sidenav.scss
    |   |   |-- _social.scss --> free/_cards.scss, free/ _forms.scss, free/_buttons.scss, pro/_buttons.scss,
    |   |   |-- _team.scss --> free/_buttons.scss, pro/_buttons.scss, free/_cards.scss, pro/_cards.scss
    |   |   |-- _testimonials.scss --> free/_carousels.scss, pro/_carousels.scss, free/_buttons.scss, pro/_buttons.scss
    |   |   |-- _magazine.scss --> _badges.scss
    |   |   |-- _pricing.scss --> free/_buttons.scss, pro/_buttons.scss
    |   |   |-- _contacts.scss --> free/_forms.scss, pro/_forms.scss, free/_buttons.scss, pro/_buttons.scss
    |   |
    |   |-- _variables.scss
    |   |-- _buttons.scss --> free/_buttons.scss, pro/_msc.scss, _checkbox.scss, _radio.scss
    |   |-- _social-buttons.scss --> free/_buttons.scss, pro/_buttons.scss
    |   |-- _tabs.scss --> _cards.scss
    |   |-- _cards.scss --> free/_cards.scss <_buttons.scss, _social-buttons.scss>
    |   |-- _dropdowns.scss --> free/_dropdowns.scss, free/_buttons.scss
    |   |-- _navbars.scss --> free/_navbars.scss  (PRO: )
    |   |-- _scrollspy.scss --> none
    |   |-- _lightbox.scss --> none
    |   |-- _chips.scss --> none
    |   |-- _msc.scss --> none
    |   |-- _forms.scss --> none
    |   |-- _radio.scss --> none
    |   |-- _checkbox.scss --> none
    |   |-- _material-select.scss --> none
    |   |-- _switch.scss --> none
    |   |-- _file-input.scss --> free/_forms.scss, free/_buttons.scss
    |   |-- _range.scss --> none
    |   |-- _input-group.scss --> free/_input-group.scss and the same what free input group, _checkbox.scss, _radio.scss
    |   |-- _autocomplete.scss --> free/_forms.scss
    |   |-- _accordion.scss --> pro/_animations.scss, free/_cards.scss
    |   |-- _parallax.scss --> none
    |   |-- _sidenav.scss --> free/_forms.scss, pro/_animations.scss, sections/_templates.scss
    |   |-- _ecommerce.scss --> free/_cards.scss, pro/_cards.scss, free/_buttons.scss, pro/_buttons.scss, pro/_msc.scss
    |   |-- _carousels.scss --> free/_carousels.scss, free/_cards.scss, free/_buttons.scss 
    |   |-- _steppers.scss --> free/_buttons.scss
    |   |-- _blog.scss --> none
    |   |-- _toasts.scss --> free/_buttons.scss
    |   |-- _animations.scss --> none
    |   |-- _charts.scss --> none
    |   |-- _progress.scss --> none
    |   |-- _scrollbar.scss --> none
    |   |-- _skins.scss --> none
    |   |-- _depreciated.scss
    |
    `-- _custom-skin.scss
    `-- _custom-styles.scss
    `-- _custom-variables.scss
    `-- mdb.scss

  

Map of dependencies of JavaScript modules in MDBootstrap:


    Legend:

    '-->' means 'required'

    All files require jQuery and bootstrap.js

    js/
    ├── dist/
    │   ├── buttons.js
    │   ├── cards.js
    │   ├── character-counter.js
    │   ├── chips.js
    │   ├── collapsible.js --> vendor/velocity.js
    │   ├── dropdown.js --> Popper.js, jquery.easing.js
    │   ├── file-input.js
    │   ├── forms-free.js
    │   ├── material-select.js --> dropdown.js
    │   ├── mdb-autocomplete.js
    │   ├── preloading.js
    │   ├── range-input.js --> vendor/velocity.js
    │   ├── scrolling-navbar.js
    │   ├── sidenav.js --> vendor/velocity.js, vendor/hammer.js, vendor/jquery.hammer.js
    │   └── smooth-scroll.js
    ├── _intro-mdb-pro.js
    ├── modules.js
    ├── src/
    │   ├── buttons.js
    │   ├── cards.js
    │   ├── character-counter.js
    │   ├── chips.js
    │   ├── collapsible.js --> vendor/velocity.js
    │   ├── dropdown.js --> Popper.js, jquery.easing.js
    │   ├── file-input.js
    │   ├── forms-free.js
    │   ├── material-select.js --> dropdown.js
    │   ├── mdb-autocomplete.js
    │   ├── preloading.js
    │   ├── range-input.js --> vendor/velocity.js
    │   ├── scrolling-navbar.js
    │   ├── sidenav.js --> vendor/velocity.js, vendor/hammer.js, vendor/jquery.hammer.js
    │   └── smooth-scroll.js
    └── vendor/
        ├── addons/
        │   ├── datatables.js
        │   └── datatables.min.js
        ├── chart.js
        ├── enhanced-modals.js
        ├── hammer.js
        ├── jarallax.js
        ├── jarallax-video.js --> vendor/jarallax.js
        ├── jquery.easing.js
        ├── jquery.easypiechart.js
        ├── jquery.hammer.js --> vendor/hammer.js
        ├── jquery.sticky.js
        ├── lightbox.js
        ├── picker-date.js --> vendor/picker.js
        ├── picker.js
        ├── picker-time.js --> vendor/picker.js
        ├── scrollbar.js
        ├── scrolling-navbar.js
        ├── toastr.js
        ├── velocity.js
        ├── waves.js
        └── wow.js
  

Compilation & Customization tutorial

If you need additional help to compile your custom package, use our Compilation & Customization tutorial

Compilation & Customization tutorial

Integrations with Angular, React or Vue

Apart from standard Bootstrap integration with jQuery, MDBootstrap provides integrations with Angular, React and Vue.

About MDB Angular About MDB React About MDB Vue