Skip to main content

Header Style 8

Header style 8 with align right main menu

                
                  <!--Header start-->
                  <header class="header">
                    <!--main menu-->
                    <div id="showbacktop" class="top-menu showbacktop mobile-sticky full-nav six-menu bg-white border-lg-1 border-bottom py-3">
                      <div class="container">
                        <nav id="main-menu" class="main-menu navbar navbar-expand-lg navbar-light z-index-50 p-0">
                          <!--navigation-->
                          <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation">
                            <span class="navbar-toggler-icon"></span>
                          </button>
                          <!-- Your logo -->
                          <div class="nav-logo6">
                            <a class="navbar-brand" rel="home" href="../../html/home/index.html" title="logo" itemprop="url">
                                <img class="img-fluid logo-six" alt="logo" src="../../assets/img/logo/default-logo.png">
                            </a>
                          </div>
                          <!--Right Toggle Button-->
                          <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarTogglerDemo2" aria-controls="navbarTogglerDemo2" aria-expanded="false" aria-label="Toggle navigation">
                            <svg xmlns="http://www.w3.org/2000/svg" width="1rem" height="1rem" fill="currentColor" viewBox="0 0 512 512"><path d="M221.09,64A157.09,157.09,0,1,0,378.18,221.09,157.1,157.1,0,0,0,221.09,64Z" style="fill:none;stroke:currentColor;stroke-miterlimit:10;stroke-width:32px"/><line x1="338.29" y1="338.29" x2="448" y2="448" style="fill:none;stroke:currentColor;stroke-linecap:round;stroke-miterlimit:10;stroke-width:32px"/></svg>
                          </button>

                          <!--left main menu start-->
                          <div id="navbarNavDropdown" class="navbar-collapse hover-mode collapse">
                            <ul id="start-main" class="main-nav navbar-uppercase navbar-nav navbar-end ms-auto">
                              <li class="nav-item dropdown">
                              <a id="navbarhome" class="nav-link dropdown-toggle" role="button" data-bs-toggle="dropdown" aria-expanded="false" href="#">Home</a>
                              <!--link-->
                              <ul class="dropdown-menu" aria-labelledby="navbarhome">
                                <li><a class="dropdown-item" href="#">Homepage - Default</a></li>
                                <li><a class="dropdown-item" href="#">Homepage - Boxed</a></li>
                              </ul><!-- end link -->
                            </li>
                            <li class="nav-item"><a class="nav-link" href="#">Business</a></li>
                            <!--mega menu-->
                            <li class="nav-item mega-dropdown dropdown">
                              <a id="navbarmega2" class="nav-link dropdown-toggle" role="button" data-bs-toggle="dropdown" aria-expanded="false" href="#">Mega</a>
                              <div id="vertical-tabs" class="dropdown-menu mega w-100 px-3 py-0" aria-labelledby="navbarmega2">
                                <div class="row mega-hovers">
                                  <div class="col-sm-3 col-md-2 vertical-tabs hover-tabs px-0 border-end-sm">
                                    <!--navigation tabs-->
                                    <ul class="nav nav-tabs text-center py-4 border-start-0 border-end-0 w-100" role="tablist">
                                      <li class="nav-item">
                                        <a id="nav-one" class="nav-link font-weight-normal active" href="#mega-one" role="tab" data-bs-toggle="tab" aria-controls="mega-one" aria-selected="true">Business</a>
                                      </li>
                                      <li class="nav-item">
                                        <a id="nav-two" class="nav-link font-weight-normal" href="#mega-two" role="tab" data-bs-toggle="tab" aria-controls="mega-two" aria-selected="false">Travel</a>
                                      </li>
                                      <li class="nav-item">
                                        <a id="nav-three" class="nav-link font-weight-normal" href="#mega-three" role="tab" data-bs-toggle="tab" aria-controls="mega-three" aria-selected="false">Sports</a>
                                      </li>
                                      <li class="nav-item">
                                        <a id="nav-four" class="nav-link font-weight-normal" href="#mega-four" role="tab" data-bs-toggle="tab" aria-controls="mega-three" aria-selected="false">Fashion</a>
                                      </li>
                                    </ul><!--end navigation tabs-->
                                  </div>
                                  <div class="col-sm-9 col-md-10 p-4">
                                    <!-- Tabs start -->
                                    <div id="mega-tabs" class="tab-content">
                                      <!--tabs content-->
                                      <div id="mega-one" class="tab-pane active show" role="tabpanel" aria-labelledby="nav-one">
                                        <div class="row">
                                          <!--post start-->
                                          <div class="col-12">TABS 1</div>
                                          <!--end post-->
                                        </div>
                                      </div>
                                      <!--tabs content-->
                                      <div id="mega-two" class="tab-pane" role="tabpanel" aria-labelledby="nav-two">
                                        <div class="row">
                                          <div class="col-12">TABS 2</div>
                                        </div>
                                      </div>
                                      <!--tabs content-->
                                      <div id="mega-three" class="tab-pane" role="tabpanel" aria-labelledby="nav-three">
                                        <div class="row">
                                          <div class="col-12">TABS 3</div>
                                        </div>
                                      </div>
                                      <!--tabs content-->
                                      <div id="mega-four" class="tab-pane" role="tabpanel" aria-labelledby="nav-four">
                                        <!--tabs content-->
                                        <div class="row">
                                          <div class="col-12">TABS 4</div>
                                        </div>
                                      </div><!-- end tabs content -->
                                    </div>
                                    <!--end tabs-->
                                  </div>
                                </div>
                              </div>
                            </li><!--end mega menu-->

                            <!--mega menu-->
                            <li class="nav-item mega-dropdown dropdown">
                              <a id="navbarmega3" class="nav-link dropdown-toggle" role="button" data-bs-toggle="dropdown" aria-expanded="false" href="#">Video</a>
                              <div class="dropdown-menu mega w-100 p-4" aria-labelledby="navbarmega3">
                                <div class="row">
                                  <!--video post start-->
                                  <article class="col-6 col-lg-3">
                                    <div class="card card-full hover-a mb-4">
                                      <!--thumbnail, category & icon-->
                                      <div class="ratio_251-141 image-wrapper">
                                        <a href="#">
                                          <img class="img-fluid lazy" src="../../../assets/img/assets/lazy-empty.png" data-src="../../../assets/img/251x141/img1.jpg" alt="Image description">
                                          <div class="position-absolute text-center top-4 w-100">
                                            <span class="fa-stack-sea text-primary">
                                              <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-play-fill" viewBox="0 0 16 16">
                                                <path d="M11.596 8.697l-6.363 3.692c-.54.313-1.233-.066-1.233-.697V4.308c0-.63.692-1.01 1.233-.696l6.363 3.692a.802.802 0 0 1 0 1.393z"/>
                                              </svg>
                                            </span>
                                          </div>
                                        </a>
                                        <a class="position-absolute m-2 t-0 p-1 badge badge-primary" href="../../../html/category/category.html">Fashion</a>
                                      </div>
                                      <!-- title, date & comments -->
                                      <div class="card-body">
                                        <h3 class="card-title h6">
                                          <a href="#">Why Sitting May Be Bad for Your Brain Health</a>
                                        </h3>
                                        <div class="card-text text-muted small">
                                          <time datetime="2019-10-22">Oct 22, 2019</time>
                                          <span title="12 comment" class="float-end">
                                            <span class="icon-comments"></span> 12
                                          </span>
                                        </div>
                                      </div>
                                    </div>
                                  </article>
                                  <!--end video post-->
                                </div>
                              </div>
                            </li><!--end mega menu-->

                            <!--dropdown submenu-->
                            <li class="nav-item dropdown">
                              <a id="navbarDropdown" class="nav-link dropdown-toggle" role="button" data-bs-toggle="dropdown" aria-expanded="false" href="#">Features</a>
                              <ul class="dropdown-menu" aria-labelledby="navbarDropdown">
                                <!--submenu-->
                                <li class="dropdown-submenu">
                                  <a id="sub10" class="dropdown-item dropdown-toggle" href="#">Submenu</a>
                                  <ul class="submenu dropdown-menu" aria-labelledby="sub10">
                                    <!--child submenu-->
                                    <li class="dropdown-submenu">
                                      <a id="sub10a" class="dropdown-item dropdown-toggle" href="#">Child Submenu</a>
                                      <ul class="submenu dropdown-menu" aria-labelledby="sub10a">
                                        <li><a class="dropdown-item" href="#">Child Submenu</a></li>
                                        <li><a class="dropdown-item" href="#">Child Submenu</a></li>
                                        <li><a class="dropdown-item" href="#">Child Submenu</a></li>
                                      </ul>
                                    </li><!--End child submenu-->
                                    <li><a class="dropdown-item" href="#">Child Submenu</a></li>
                                    <li><a class="dropdown-item" href="#">Child Submenu</a></li>
                                  </ul>
                                </li><!--end submenu-->
                              </ul>
                            </li><!--end dropdown submenu-->

                            <!--mega menu-->
                            <li class="nav-item mega-dropdown dropdown">
                              <a id="navbarmega4" class="nav-link dropdown-toggle" role="button" data-bs-toggle="dropdown" aria-expanded="false" href="#">News Block</a>
                              <!--content mega-->
                              <div class="dropdown-menu mega w-100 px-3 py-0 font-weight-normal" aria-labelledby="navbarmega4">
                                <ul class="row list-unstyled border-end-last-lg-0">
                                  <!--menu list-->
                                  <li class="col-sm-6 col-lg-3 mb-3 mb-lg-0 px-0 py-2 py-lg-4">
                                    <!--title-->
                                    <h5 class="title-nav"><strong>News Block A</strong></h5>
                                    <!--link-->
                                    <ul class="list-unstyled mega-link">
                                      <li><a class="dropdown-item" href="#">Block - Layout 1</a></li>
                                      <li><a class="dropdown-item" href="#">Block - Layout 2</a></li>
                                      <li><a class="dropdown-item" href="#">Block - Layout 3</a></li>
                                      <li><a class="dropdown-item" href="#">Block - Layout 4</a></li>
                                      <li><a class="dropdown-item" href="#">Block - Layout 5</a></li>
                                    </ul>
                                  </li>
                                  <!--menu list-->
                                  <li class="col-sm-6 col-lg-3 mb-3 mb-lg-0 px-0 py-2 py-lg-4">
                                    <!--title-->
                                    <h5 class="title-nav"><strong>News Block B</strong></h5>
                                    <!--link-->
                                    <ul class="list-unstyled mega-link">
                                      <li><a class="dropdown-item" href="#">Block - Layout 6</a></li>
                                      <li><a class="dropdown-item" href="#">Block - Layout 7</a></li>
                                      <li><a class="dropdown-item" href="#">Block - Layout 8</a></li>
                                      <li><a class="dropdown-item" href="#">Block - Layout 9</a></li>
                                      <li><a class="dropdown-item" href="#">Block - Layout 10</a></li>
                                    </ul>
                                  </li>
                                  <!--menu list-->
                                  <li class="col-sm-6 col-lg-3 mb-3 mb-lg-0 px-0 py-2 py-lg-4">
                                    <!--title-->
                                    <h5 class="title-nav"><strong>News Block C</strong></h5>
                                    <!--link-->
                                    <ul class="list-unstyled mega-link">
                                      <li><a class="dropdown-item" href="#">Block - Layout 11</a></li>
                                      <li><a class="dropdown-item" href="#">Block - Layout 12</a></li>
                                      <li><a class="dropdown-item" href="#">Block - Layout 13</a></li>
                                      <li><a class="dropdown-item" href="#">Block - Layout 14</a></li>
                                      <li><a class="dropdown-item" href="#">Block - Layout 15</a></li>
                                    </ul>
                                  </li>
                                  <!--menu list-->
                                  <li class="col-sm-6 col-lg-3 mb-3 mb-lg-0 px-0 py-2 py-lg-4">
                                    <!--title-->
                                    <h5 class="title-nav"><strong>News Block D</strong></h5>
                                    <!--link-->
                                    <ul class="list-unstyled mega-link">
                                      <li><a class="dropdown-item" href="#">Block - Layout 16</a></li>
                                      <li><a class="dropdown-item" href="#">Block - Layout 17</a></li>
                                      <li><a class="dropdown-item" href="#">Block - Layout 18</a></li>
                                      <li><a class="dropdown-item" href="#">Block - Layout 19</a></li>
                                      <li><a class="dropdown-item" href="#">Block - Layout 20</a></li>
                                    </ul>
                                  </li>
                                  <!--end menu list-->
                                </ul>
                              </div>
                            </li><!--end mega menu-->
                            </ul>
                          </div>
                          <!--end left main menu-->
                        </nav>
                        <!-- .site-navigation -->

                        <!--search mobile-->
                        <div class="collapse navbar-collapse col-12 py-2" id="navbarTogglerDemo2">
                          <form class="form-inline" action="../../html/category/search.html">
                            <div class="input-group w-100">
                              <input type="text" class="form-control border border-end-0" placeholder="Search..." aria-label="search">
                              <button class="btn btn-primary" type="submit">
                                <svg xmlns="http://www.w3.org/2000/svg" width="1rem" height="1rem" fill="currentColor" viewBox="0 0 512 512"><path d="M221.09,64A157.09,157.09,0,1,0,378.18,221.09,157.1,157.1,0,0,0,221.09,64Z" style="fill:none;stroke:currentColor;stroke-miterlimit:10;stroke-width:32px"/><line x1="338.29" y1="338.29" x2="448" y2="448" style="fill:none;stroke:currentColor;stroke-linecap:round;stroke-miterlimit:10;stroke-width:32px"/></svg>
                              </button>
                            </div>
                          </form>
                        </div>
                        <!--end search mobile-->
                      </div>
                    </div>
                    <div class="py-1 mt-n2"></div>
                  </header>
                
              

Want to add mega menu ?

Read following documentation Mega menu

More header style ?


Header style 1 Header style 2 Header style 3 Header style 4 Header style 5 Header style 6 Header style 7 Header style 8 Header style 9 Header style 10