Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #1413052
    #1413099

    Hey ConDevWa,

    Thank you for the inquiry.

    We can’t seem to reproduce the issue on Chrome. Which browser are you using? Please try to toggle or temporarily disable the Enfold > Performance > File Compression settings and see if it improves.

    Best regards,
    Ismael

    #1413196

    Hi Ismael,
    im using Firefox.
    File compression was already disabled. I can’t reproduce the error myself, it just appears sometimes. I have not yet been able to find a reason why.

    Best regards
    Mandy

    #1413285

    Hi,

    Thank you for the update.

    Unfortunately, it would be difficult for us to provide a solution if we cannot reproduce the issue. If you encounter the issue again, please provide a screenshot or a short clip. You can use platforms like Savvyify, Imgur or Dropbox to upload and share the screenshot. Here are the steps to follow:

    1.) Visit the website of your chosen platform, such as Savvyify, Imgur or Dropbox.
    2.) Locate the option to upload a file or an image.
    3.) Select the screenshot file from your computer or device and upload it to the platform.
    4.) After the upload is complete, you will be provided with a shareable link or an embed code.
    5.) Copy the link or code and include it in your message or response to provide us with the screenshot.

    Thank you for taking the time to share the screenshot. It will help us better understand the issue you’re facing and provide appropriate assistance.

    Best regards,
    Ismael

    #1416839
    This reply has been marked as private.
    #1417123

    Hi,

    Thank you for the short clip.

    The issue seems to occur only when you scroll down without waiting for the site to finish loading. Improving the site’s loading speed could potentially resolve this issue. Please refer to the links below for more info on how to optimize the site’s loading speed.

    // https://gtmetrix.com/wordpress-optimization-guide.html
    // https://kriesi.at/archives/scoring-100-100-in-google-pagespeed-insights-gtmetrix-pagespeed-and-yslow

    Best regards,
    Ismael

    #1420875

    Hello Ismael,

    I have now been able to reproduce the problem. It occurs when you have scrolled down on a page and then refresh/reload the page. If you scroll up again, the logo is reduced in size.

    Best regards
    Mandy

    #1421072

    Hi,

    Thank you for following up.

    Please add this script in the functions.php file to force the logo to resize on scroll.

    function av_custom_inline_script()
    {
    
        wp_add_inline_script( 'jquery', 
        "
        (function($) {
                // resize logo on scroll
                $(window).on('scroll', function() {
                    if ($(this).scrollTop() < 30) {
                        $(this).trigger('resize debouncedresize');
                    }
                });
        })(jQuery);
        "
        );
    }
    add_action( 'wp_enqueue_scripts', 'av_custom_inline_script' );
    
    

    Best regards,
    Ismael

    #1421351

    Hi,

    unfortunately this did not work. I tried it once in the child theme and once in the normal Enfold theme.

    Best regards
    Mandy

    #1421460

    Hi,

    Did you remove or purge the cache? Please make sure to purge the cache and perform a hard refresh before testing the page. If the issue persists, please provide the details of an admin account in the private field so that we can test the modification.

    Thank you for your patience.

    Best regards,
    Ismael

    #1422102

    Hi,

    I have cleared the cache of the page and also my browser cache. Unfortunately the problem is still there.

    Best regards
    Mandy

    #1422108

    Hi,

    We edited the functions.php file and modified the code a bit. The script seems to be working as expected. Please make sure to purge the cache and do a hard refresh before checking the page.

    Thank you for your patience.

    Best regards,
    Ismael

    #1422230

    Hi Ismael,
    many many thanks. It works perfectly!
    Best regards
    Mandy

    #1422325

    Hi,

    Great! Glad to know that the script is working. Please do not hesitate to open another thread if you have more questions about the theme.

    Have a nice day.

    Best regards,
    Ismael

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Verkleinerter Header passt nach hochscrollen die Logogröße nicht richtig an’ is closed to new replies.