Questions?
.elementor-button .elementor-button-icon { display: flex; align-items: center; } body.woocommerce-checkout .product-quantity { display: none; }
jQuery(document).ready(function($){ const headerFixedLPNad = () => { const $header = $("#header-tenant"); if (!$header.length) return; let headerHeight = $header.outerHeight(true); let startFixedLimit = $header.offset().top + headerHeight; $(window).on('scroll', function(){ let scrollTop = $(window).scrollTop(); if (scrollTop > startFixedLimit) { $header.css({ position: 'fixed', top: '0', left: '0', width: '100%', 'box-shadow': 'rgba(0, 0, 0, 0.094) 0px 4px 4px', }); $("body").css("padding-top", headerHeight); } if (scrollTop <= startFixedLimit) { $header.css({ position: 'relative', 'box-shadow': 'none', }); $("body").css("padding-top", 0); } }); }; if ( $("#header-tenant").length && !window.location.href.includes('contact') && !window.location.href.includes('refund_returns') && !window.location.href.includes('unsubscribe') ){ headerFixedLPNad(); } });

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

One Response

Leave a Reply

Your email address will not be published. Required fields are marked *