From 51b5cd729b9d38c1aabebd099c73f6ffd9a2cf33 Mon Sep 17 00:00:00 2001 From: soufiane Date: Mon, 7 Oct 2024 18:26:39 +0200 Subject: [PATCH] wait #7119 --- wp-content/mu-plugins/cube/src/Elementor/Widgets/HeroBlock.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- 2.39.5