From: soufiane Date: Mon, 7 Oct 2024 16:26:39 +0000 (+0200) Subject: wait #7119 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=51b5cd729b9d38c1aabebd099c73f6ffd9a2cf33;p=c6-wordpress.git wait #7119 --- diff --git a/wp-content/mu-plugins/cube/src/Elementor/Widgets/HeroBlock.php b/wp-content/mu-plugins/cube/src/Elementor/Widgets/HeroBlock.php index 3174ed3..56c8a60 100644 --- a/wp-content/mu-plugins/cube/src/Elementor/Widgets/HeroBlock.php +++ b/wp-content/mu-plugins/cube/src/Elementor/Widgets/HeroBlock.php @@ -250,7 +250,7 @@ class HeroBlock extends Widget_Base { const bottomHomeBanner = homeBanner.get(0).getBoundingClientRect().bottom $(window).on("scroll", function (e) { - if ($(window).scrollTop() + 150 > bottomHomeBanner) { + if ($(window).scrollTop() > 2) { $('header.site .inner').css({ "background": "#fff", "color": "#1c1c1c"