Tagged: 

Viewing 22 posts - 1 through 22 (of 22 total)
  • Author
    Posts
  • #1407203

    Hello guys!
    I have create a blurry effect for my header but (usual story) only in my desktop work well. I mean it works also in mobile but when the page is up, it should not be visible (please look at the desktop version). It should be work when start scrolling..

    #1407411

    Hey Stilecatalini,

    Thank you for the inquiry.

    Try to replace the css rule for the header blur effect with the following css code.

    #top #header .header_bg {
      background-color: rgba(20, 21, 23, 0.3);
      backdrop-filter: blur(8px);
    }
    
    #top #header.av_header_transparency .header_bg {
      backdrop-filter: none;
    }

    This code should disable the blur effect when the page is not scrolled or when the header is still transparent.

    Best regards,
    Ismael

    #1407442

    I don’t know why???? Doesn’t work!
    Please entry in my wordpress…

    #1407835

    Hi Stilecatalini,

    The question seems to be asked as well on this thread:

    Best regards,
    Nikko

    #1407878

    Nikko, sorry but in mobile we have lost the blur effect! 😅 Please check!

    #1407889

    Hi Stilecatalini,

    I see, please try to add this code in functions.php of your child theme:

    function add_custom_script(){
    ?>
    <script>
    (function($){
        $(window).scroll(function() {    
        var scroll = $(window).scrollTop();
    
        if (scroll >= 50) {
            $("#header").addClass("header-scrolled");
        } else {
            $("#header").removeClass("header-scrolled");
        }
    });
    })(jQuery);
    </script>
    <?php
    }
    add_action('wp_footer', 'add_custom_script');

    then put this CSS code in Quick CSS:

    #top #header.header-scrolled .header_bg {
      background-color: rgba(20, 21, 23, 0.3);
      backdrop-filter: blur(8px);
    }

    just adjust the properties as you see fit.

    Best regards,
    Nikko

    #1407920

    Nikko I can’t add in function.php in my theme editor and I don’t know why! Please check!

    #1407921

    Sorry but I don’t know also if in my WordPress there is a child theme: I have never creste it! And I don’t know how to do..
    I’m not expert, I know something and I need of your help!
    Please check!

    #1407941

    Are you there Nikko?

    #1407990

    Hi Stilecatalini,

    I install and activated a plugin called WPCode – Insert Headers and Footers + Custom Code Snippets – WordPress Code Manager on your site and added the PHP code there, then added this in Quick CSS:

    @media only screen and (max-width: 989px) {
      #top #header.header-scrolled .header_bg {
        background-color: rgba(20, 21, 23, 0.3);
        backdrop-filter: blur(8px);
      }
    }

    Please review your site.

    Best regards,
    Nikko

    #1407999

    What is the difference?! For me it’s the same..

    #1408108

    Hi Stilecatalini,

    I have posted screenshot links in private content.
    The first one is when the page is not scrolled and the second one is when the page is scrolled.

    Best regards,
    Nikko

    #1408113

    Well. Now it’s ok.

    Now can you help me to find a solution in any way to obtain curtain effect like the desktop version?

    #1408122

    Hi Stilecatalini,

    Unfortunately, at the moment I don’t have a working solution, but I’ll post here if I can make one.

    Best regards,
    Nikko

    #1408648

    Nikko please check the blur effect because I don’t know how to do! Thanks

    #1408684

    Where is your css to obtain blur effect?

    #1408734

    Hi Stilecatalini,

    It is in Enfold > General Styling > Quick CSS:

    @media only screen and (max-width: 989px) {
        #top #header.header-scrolled .header_bg {
            background-color: rgba(20, 21, 23, 0.3);
            -webkit-backdrop-filter: blur(15px) saturate(0.3);
            backdrop-filter: blur(15px) saturate(0.3);
        }
    }

    Best regards,
    Nikko

    #1408766

    Nikko I tried to remove and copy again that code but doesn’t work!
    Can you try?
    Please look at this example of header.
    Apart from the blur effect I like to show the header like this and the submenu like I told you in the other topic about SUBMENU.
    Thanks.
    Waiting for you as soon as possible.
    It’s work for me!

    #1408771

    Forgot the example. See this.

    #1408911

    Hi Stilecatalini,

    Please try Guenni007’s solution on this thread: https://kriesi.at/support/topic/only-have-header-show-when-user-scrolls-up/

    Best regards,
    Nikko

    #1408919

    Nikko, you have to understand that I cannot modify function.php because I don’t know! If you can do it. So I can add css code…

    #1408946

    Are you there? It’s impossible to work like this! Some replies sometimes….

Viewing 22 posts - 1 through 22 (of 22 total)
  • You must be logged in to reply to this topic.