/***HEADER 4 START***/ .custom-header4-top-bar-inner-col { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; } .custom-header4-main-nav-inner-col { display: flex; align-items: center; justify-content: space-between; } .custom-header4-top-bar-blurb .et_pb_blurb_container { padding-left: 10px; } @media(min-width: 981px) { #custom-header4-menu .et_pb_menu__logo-wrap { position: absolute; top: -100%; } } @media (max-width: 980px) { #custom-header4-menu { width: 100%; } #custom-header4-menu .et_mobile_menu { top: 60px; } #custom-header4-menu .et_mobile_menu li a { text-align: center; } #custom-header4-menu .et_mobile_menu li.mobile-menu-custom-social ul { text-align: center; margin-top: 40px !important; padding: 0; } #custom-header4-menu .et_mobile_menu li.mobile-menu-custom-social ul li { padding: 0 10px; } #custom-header4-menu .et_mobile_menu li.mobile-menu-custom-social ul li a {margin: 0; } } @media(max-width: 767px) { .custom-header4-top-bar-row .custom-header4-top-bar-cta { display: none; } #custom-header4-menu .et_mobile_menu .mobile-menu-custom-btn { margin: 20px auto; } #custom-header4-menu .et_mobile_menu .mobile-menu-custom-btn a, #custom-header4-menu .et_mobile_menu .mobile-menu-custom-btn a:hover { padding: 15px 30px 14px !important; max-width: 300px; margin: 0 auto; } } @media (max-width: 479px) { .custom-header4-top-bar-blurb .et_pb_blurb_container .et_pb_module_header { padding-bottom: 4px; } } /***CUSTOM FIXED HEADER start***/ @media (min-width: 981px) { header.et-l--header.custom-fixed-header { position: fixed; z-index: 999; top: -100px; left: 0; width: 100%; } header.et-l--header.custom-fixed-header .custom-header4-section { box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); } .admin-bar header.et-l--header.custom-fixed-header { top: -68px; } #main-content.on-fixed-header { padding-top: 168px; } } /***CUSTOM FIXED HEADER end***/ /***HEADER 4 END***/ jQuery(document).ready(function(){ //This is a function for making the header fixed - see also css jQuery(window).scroll(function() { var scroll = jQuery(window).scrollTop(); if (scroll >= 100) { jQuery("header.et-l--header").addClass("custom-fixed-header"); jQuery("#main-content").addClass('on-fixed-header'); } else { jQuery("header.et-l--header").removeClass("custom-fixed-header"); jQuery("#main-content").removeClass('on-fixed-header'); } }); }); //This clones the top bar button and social icons and injects them in mobile menu, while with css the top bar button and icons are hidden in mobile jQuery(window).on('load', function() { jQuery('.custom-header4-top-bar-cta').clone().appendTo('#custom-header4-menu .et_mobile_menu').wrap('
  • '); jQuery('.custom-header4-social-icons-module').clone().appendTo('#custom-header4-menu .et_mobile_menu').wrap('
  • Call Today

    +1 714-555-1212

    }
    Hours

    Mon – Fri, 8am to 5pm

    Welcome to WordPress. This is your first post. Edit or delete it, then start writing!