"Header with banner section shopping website"
Bootstrap 4.1.1 Snippet by Shivamsemisetia

<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script> <script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script> <!------ Include the above in your HEAD tag ----------> <!-- Header strat --> <header class="header"> <div class="top-header"> <div class="container"> <div class="row"> <div class="col"> <span>Phone: +97878787878787</span> <span>email: info@gmail.com</span> </div> <div class="col text-right"> <span>gift card</span> <span>track order</span> <div class="lang d-inline-flex"> <span>language </span> <ul class="lang-dropdown"> <li>Freance</li> <li>Spanis</li> </ul> </div> </div> </div> </div> </div> <div class="container"> <nav class="navbar"> <!-- Site logo --> <a href="home-01.html" class="logo"> <img src="images/logo.png" alt=""> </a> <a href="javascript:void(0);" id="mobile-menu-toggler"> <i class="ti-align-justify"></i> </a> <ul class="navbar-nav"> <li class="current-menu-item has-menu-child"> <a href="#">Home</a> <ul class="sub-menu"> <li><a href="home-01.html">Home 01</a></li> <li><a href="home-02.html">Home 02</a></li> <li><a href="home-03.html">Home 03</a></li> </ul> </li> <li><a href="#">About</a></li> <li><a href="#">Services</a></li> <li><a href="#">Projects</a></li> <li><a href="#">Blog</a></li> <li><a href="#">Contact</a></li> </ul> <div class="d-inline-flex align-items-center"> <a href="#" class="search-icon icon"> <!-- <img src="images/icons/search.png" alt=""> --> <i class="ti-search"></i> </a> <a href="#" class="cart-bag icon"> <!-- <img src="images/icons/bag.png" alt=""> --> <i class="ti-shopping-cart"></i> <span class="itemCount">0</span> </a> <a href="#" class="wishlist icon"> <i class="ti-heart"></i> <span class="itemCount">09</span> </a> </div> </nav> </div> </header> <!-- Header strat --> <!-- Banner section start --> <section class="banner" style="background-image: url(https://placeimg.com/1000/1000/nature)"> <div class="container-fluid"> <div class="row align-items-center"> <div class="col-md-6 order-0 order-md-0"> <div class="banner-content"> <span class="tagline">ultimate collection</span> <h1>Complete Women Fashion Here</h1> <a href="#" class="btn-default">shop now</a> </div> </div> <div class="col-md-6 order-1 order-md-1"> <div class="ban-img"> <img src="images/ban-2.png" alt=""> </div> </div> </div> </div> </section> <!-- Banner section end -->
body{ height:5000px; } /******************************* * Header */ @media screen and (max-width: 991px) { .header .navbar { padding: 15px 0; } .header .navbar .icon { padding-bottom: 0; } } .top-header { background-color: #fef7f6; padding: 10px 0; } .top-header span { color: #000; display: inline-block; font-size: 11px; font-weight: 300; text-transform: uppercase; position: relative; } .top-header span:not(:last-child) { padding-right: 15px; } @media screen and (max-width: 767px) { .top-header { display: none; } } .lang-dropdown { display: none; } /******************************* * Navigation menu */ .navbar { padding: 0; } .navbar .icon { position: relative; font-size: 18px; padding: 10px; } .navbar-nav { -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; } .navbar-nav li { position: relative; } .navbar-nav li a { color: #000; display: block; font-size: 13px; font-weight: 500; line-height: 0.8; padding: 40px 15px; text-transform: uppercase; } .navbar-nav li a li.current-menu-item a, .navbar-nav li a:hover { color: #ff5353; } .navbar-nav li .sub-menu { background-color: #fff; -webkit-box-shadow: 0 2px 15px rgba(0, 0, 0, 0.07); box-shadow: 0 2px 15px rgba(0, 0, 0, 0.07); -webkit-transition: all 300ms ease; transition: all 300ms ease; } @media screen and (min-width: 992px) { .navbar-nav li .sub-menu { position: absolute; top: 100%; left: 0; opacity: 0; visibility: hidden; width: 220px; z-index: 9; } } @media screen and (max-width: 991px) { .navbar-nav li .sub-menu { display: none; } } @media screen and (min-width: 992px) { .navbar-nav li .sub-menu a { padding: 20px; } } .navbar-nav li .sub-menu a:hover { background-color: #f5f5f5; } @media screen and (min-width: 992px) { .navbar-nav li:hover .sub-menu { opacity: 1; visibility: visible; } } @media screen and (max-width: 991px) { .navbar-nav { background-color: #fff; display: none; position: absolute; top: 100%; left: 0; width: 100%; z-index: 9; } .navbar-nav li a { padding: 20px 35px; } .navbar-nav li a:hover { background-color: #f5f5f5; } } @media screen and (max-width: 575px) { .navbar-nav li a { padding: 20px 15px; } } #mobile-menu-toggler { color: #000; font-size: 20px; margin-left: auto; margin-right: 10px; position: relative; top: 5px; } #mobile-menu-toggler:hover { color: #000; } @media screen and (min-width: 992px) { #mobile-menu-toggler { display: none; } } .menu-dropdown { color: #000; cursor: pointer; display: block; font-size: 10px; line-height: 20px; text-align: center; position: absolute; right: -5px; top: 50%; -webkit-transform: translateY(-50%); transform: translateY(-50%); width: 20px; height: 20px; } @media screen and (max-width: 991px) { .menu-dropdown { font-size: 16px; right: 35px; top: 15px; -webkit-transform: none; transform: none; } } .itemCount { position: absolute; background-color: #ff5353; height: 16px; width: 16px; border-radius: 50%; top: 0; right: 0; color: #fff; font-size: 8px; font-weight: 400; line-height: 16px; text-align: center; } /******************************* * Banner Section */ .banner, .banner02 { background-size: cover; background-position: center top; background-repeat: no-repeat; padding: 0; } .banner .banner-content, .banner02 .banner-content { width: 100%; text-align: center; } .banner .banner-content h1, .banner02 .banner-content h1 { font-weight: 500; font-size: 58px; line-height: 70px; margin-bottom: 45px; } .banner .banner-content .tagline, .banner02 .banner-content .tagline { display: block; margin-bottom: 15px; } @media screen and (min-width: 768px) { .banner .banner-content, .banner02 .banner-content { max-width: 475px; float: right; } } @media screen and (max-width: 991px) { .banner .banner-content h1, .banner02 .banner-content h1 { font-size: 40px; line-height: 56px; margin-bottom: 35px; } } @media screen and (max-width: 767px) { .banner .banner-content, .banner02 .banner-content { padding: 60px 0; } } .banner02 { background-color: #eae2d8; } .banner02 .banner-content h1 { font-family: "Dancing Script", cursive; font-weight: 700; text-transform: uppercase; margin-bottom: 33px; } .banner02 .banner-content h4 { font-weight: 300; text-transform: uppercase; margin-bottom: 54px; } @media screen and (max-width: 991px) { .banner02 .banner-content h1 { margin-bottom: 10px; } .banner02 .banner-content h4 { margin-bottom: 20px; } } .tagline { color: #565656; display: inline-block; font-weight: 500; line-height: 0.8; letter-spacing: 2.8px; margin-bottom: 0; text-transform: uppercase; }
(function($) { 'use strict' //====================== // Mobile menu //====================== $('#mobile-menu-toggler').on('click', function(e) { e.preventDefault(); $('.navbar-nav').slideToggle(); }) $('.has-menu-child').append('<i class="menu-dropdown ti-angle-down"></i>'); if ($(window).width() <= 991) { $('.menu-dropdown').on('click', function() { $(this).prev().slideToggle('slow'); $(this).toggleClass('ti-angle-down ti-angle-up') }) } }) (jQuery);

Related: See More


Questions / Comments: