]> _ Git - c6-wordpress.git/commitdiff
wait #7119
authorsoufiane <soufiane@cubedesigners.com>
Mon, 7 Oct 2024 16:26:39 +0000 (18:26 +0200)
committersoufiane <soufiane@cubedesigners.com>
Mon, 7 Oct 2024 16:26:39 +0000 (18:26 +0200)
wp-content/mu-plugins/cube/src/Elementor/Widgets/HeroBlock.php

index 3174ed38fe31ac4af14dcf2a661ab31c3f20834b..56c8a60282adfd93de645bc0ca49e0d4758aeabf 100644 (file)
@@ -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"