Header Style 9
Header style 9 with show nav if scroll top and sidebar mobile menu
<!--Main menu-->
<div id="showbacktop" class="top-menu showbacktop full-nav bg-white border-none border-lg-1 border-bottom shadow-b-sm py-0">
<div class="container">
<nav id="main-menu" class="main-menu navbar navbar-expand-lg navbar-light px-2 px-lg-0 py-0">
<!--Navbar menu-->
<div id="navbarTogglerDemo1" class="collapse navbar-collapse hover-mode">
<!-- logo in navbar -->
<div class="logo-showbacktop">
<a href="#">
<img class="img-fluid" src="../../assets/img/logo/default-logo.png" alt="Logo site">
</a>
</div>
<!--left main menu start-->
<ul id="start-main" class="navbar-nav main-nav navbar-uppercase first-start-lg-0">
<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>
<!--end left main menu-->
<!--Search form-->
<div class="navbar-nav ms-auto d-none d-lg-block">
<div class="search-box">
<!--hide search-->
<div class="search-menu no-shadow border-0 py-0">
<form class="form-src form-inline" action="#">
<div class="input-group">
<input type="text" class="form-control end-0" name="keywords" value="" placeholder="Search..." aria-label="search">
<span class="icones">
<svg xmlns="http://www.w3.org/2000/svg" class="ms-n4" 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>
</span>
</div>
</form>
</div>
<!--end hide search-->
</div>
</div>
<!--end search form-->
</div>
<!--End navbar menu-->
</nav>
</div>
</div>
<!-- End main menu -->
<!--Header start-->
<header class="header">
<!-- top menu -->
<div class="mobile-sticky top-menu bg-secondary">
<div class="container">
<!--Navbar-->
<nav class="navbar navbar-expand-lg navbar-dark px-0 py-0">
<!--Hamburger button-->
<a id="showStartPush" aria-label="sidebar menu" class="navbar-toggler sidebar-menu-trigger side-hamburger border-0 px-0" href="javascript:;">
<span class="hamburger-icon">
<span></span><span></span><span></span><span></span>
</span>
</a>
<!-- Mobile logo -->
<a href="../../html/home/index.html">
<img class="mobile-logo img-fluid d-lg-none mx-auto" src="../../assets/img/logo/logo-mobile.png" alt="Logo site">
</a>
<!--Right Toggle Button-->
<button class="navbar-toggler px-0" 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="1.5rem" height="1.5rem" 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>
</nav>
<!-- End Navbar -->
</div>
</div>
<!--end top menu-->
<!--start second header-->
<div class="second-header">
<div class="container">
<div class="row">
<!--Left content logo-->
<div class="col-lg-4">
<div id="main-logo" class="main-logo my-2 my-lg-4 d-none d-lg-block">
<a class="navbar-brand" href="#">
<img class="img-fluid" src="../../assets/img/logo/default-logo.png" alt="Logo site">
</a>
</div>
</div>
<!--Right content ads-->
<div class="col-lg-8">
<div class="my-2 my-md-3 my-lg-4 d-none d-md-block text-center">
<a href="#" target="_blank">
<img class="img-fluid bg-light" src="../../assets/img/ads/728-demo.png" alt="Advertiser space">
</a>
</div>
</div>
<!--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>
<!--End second header-->
</header>
<!--End header-->
<!-- sidebar mobile menu -->
<div class="mobile-side">
<!--Left Mobile menu-->
<div id="back-menu" class="back-menu back-menu-start">
<span class="hamburger-icon open">
<svg class="bi bi-x" width="2rem" height="2rem" viewBox="0 0 16 16" fill="currentColor" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M11.854 4.146a.5.5 0 010 .708l-7 7a.5.5 0 01-.708-.708l7-7a.5.5 0 01.708 0z" clip-rule="evenodd"></path>
<path fill-rule="evenodd" d="M4.146 4.146a.5.5 0 000 .708l7 7a.5.5 0 00.708-.708l-7-7a.5.5 0 00-.708 0z" clip-rule="evenodd"></path>
</svg>
</span>
</div>
<nav id="mobile-menu" class="menu-mobile d-flex flex-column push push-start shadow-r-sm bg-white">
<!-- mobile menu content -->
<div class="mobile-content mb-auto">
<!--logo-->
<div class="logo-sidenav p-2">
<a href="#">
<img src="../../assets/img/logo/default-logo.png" class="img-fluid" alt="logo">
</a>
</div>
<!--navigation-->
<div class="sidenav-menu">
<nav class="navbar navbar-light navbar-inverse">
<ul id="side-menu" class="nav navbar-nav list-group list-unstyled side-link">
<li class="menu-item nav-item"><a href="#" class="nav-link active">Home</a></li>
<!-- dropdown menu start -->
<li class="menu-item menu-item-has-children dropdown mega-dropdown nav-item">
<a href="#" class="dropdown-toggle nav-link" role="button" data-bs-toggle="dropdown" aria-expanded="false" id="menu-11">Automotive</a>
<!-- dropdown content -->
<ul class="dropdown-menu" aria-labelledby="menu-11" role="menu">
<li class="menu-item nav-item">
<a href="../category/category.html" class="dropdown-item">Cars</a>
</li>
</ul>
</li><!-- end dropdown menu -->
<li class="menu-item nav-item"><a href="#" class="nav-link">Business</a></li>
<!-- dropdown menu start -->
<li class="menu-item menu-item-has-children dropdown mega-dropdown nav-item">
<a href="#" class="dropdown-toggle nav-link" role="button" data-bs-toggle="dropdown" aria-expanded="false" id="menu-12">Lifestyle</a>
<!-- dropdown content -->
<ul class="dropdown-menu" aria-labelledby="menu-12" role="menu">
<li class="menu-item nav-item"><a href="#" class="dropdown-item">Fashion</a></li>
<li class="menu-item menu-item-has-children mega-dropdown nav-item">
<a href="#" class="dropdown-item dropdown-toggle" id="menu-13">Travel</a>
<!-- dropdown submenu -->
<ul class="submenu dropdown-menu" aria-labelledby="menu-13" role="menu">
<li class="menu-item nav-item"><a href="#" class="dropdown-item">Adventure</a></li>
</ul>
</li>
<li class="menu-item menu-item-has-children mega-dropdown nav-item">
<a href="#" class="dropdown-item dropdown-toggle" id="menu-14">Science</a>
<ul class="submenu dropdown-menu" aria-labelledby="menu-14" role="menu">
<li class="menu-item nav-item"><a href="#" class="dropdown-item">Health</a></li>
</ul>
</li>
</ul>
</li><!-- end dropdown menu -->
<!-- dropdown menu start -->
<li class="menu-item menu-item-has-children dropdown mega-dropdown nav-item">
<a href="#" class="dropdown-toggle nav-link" role="button" data-bs-toggle="dropdown" aria-expanded="false" id="menu-15">Sports</a>
<!-- dropdown content -->
<ul class="dropdown-menu" aria-labelledby="menu-15" role="menu">
<li class="menu-item nav-item"><a href="#" class="dropdown-item">Soccer</a></li>
<li class="menu-item nav-item"><a href="#" class="dropdown-item">Moto GP</a></li>
<li class="menu-item nav-item"><a href="#" class="dropdown-item">Basket</a></li>
<li class="menu-item nav-item"><a href="#" class="dropdown-item">NFL</a></li>
</ul>
</li><!-- end dropdown menu -->
<li class="menu-item nav-item"><a href="#" class="nav-link">International</a></li>
</ul>
</nav>
</div>
</div>
<!-- copyright mobile sidebar menu -->
<div class="mobile-copyright mt-5 px-4 text-center">
<p>Copyright <a href="#">Bootnews</a> - All right reserved</p>
</div>
</nav>
</div>
<!-- end sidebar mobile menu -->
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