I cant turn off lazy loading on certain blog post pictures at my main page

This topic has 2 replies, 2 voices, and was last updated 7 months, 2 weeks ago ago by Luca Rossi

  • Avatar: Papuna
    Papuna
    Participant
    April 8, 2024 at 11:59

    Dear Xstore Support Team,

    I hope this message finds you well. I am reaching out to seek assistance with a technical issue I am encountering on my website.

    I am currently facing difficulties turning off lazy loading for blog post pictures specifically on my main page. Despite having disabled Ajaxify from Elementor’s advanced settings, the lazy loading feature persists.

    Could you please provide guidance or assistance on how to effectively disable lazy loading for these blog post pictures?

    Your prompt attention to this matter would be greatly appreciated as it is affecting the functionality and user experience of my website.

    Thank you for your attention to this matter. I look forward to your prompt response and resolution.

    Sincerely,

    Files is visible for topic creator and
    support staff only.
    1 Answer
    Avatar: Justin
    Luca Rossi
    Support staff
    April 8, 2024 at 15:21

    Hi @Papuna,

    We hope this message finds you well.

    We kindly request that you insert the following code snippets into the functions.php file located within your child theme:

    
    add_filter('etheme_ajaxify_elementor_widget', '__return_false');
    add_filter('etheme_ajaxify_lazyload_widget', '__return_false');
    add_filter('etheme_ajaxify_script', '__return_false');
    

    Subsequently, please add the custom CSS provided below by navigating to Theme Options > Theme Custom CSS > Global CSS in your website’s admin panel:

    
    body.elementor-default:not([data-elementor-device-mode]) [class*=elementor-widget-et-]>.elementor-widget-container,
    body.elementor-default:not([data-elementor-device-mode]) [class*=elementor-widget-etheme]>.elementor-widget-container,
    body.elementor-default:not([data-elementor-device-mode]) [class*=elementor-widget-woocommerce-etheme]>.elementor-widget-container,
    body.elementor-default:not([data-elementor-device-mode]) [class*=elementor-widget-woocommerce-product-etheme]>.elementor-widget-container,
    body.elementor-page:not([data-elementor-device-mode]) [class*=elementor-widget-et-]>.elementor-widget-container,
    body.elementor-page:not([data-elementor-device-mode]) [class*=elementor-widget-etheme]>.elementor-widget-container,
    body.elementor-page:not([data-elementor-device-mode]) [class*=elementor-widget-woocommerce-etheme]>.elementor-widget-container,
    body.elementor-page:not([data-elementor-device-mode]) [class*=elementor-widget-woocommerce-product-etheme]>.elementor-widget-container {
        opacity: 1;
        visibility: visible;
    }
    body.elementor-default:not([data-elementor-device-mode]) [class*=elementor-widget-et-]:before,
    body.elementor-default:not([data-elementor-device-mode]) [class*=elementor-widget-etheme]:before,
    body.elementor-page:not([data-elementor-device-mode]) [class*=elementor-widget-et-]:before,
    body.elementor-page:not([data-elementor-device-mode]) [class*=elementor-widget-etheme]:before {
        display: none;
    }
    

    We trust that these adjustments will be beneficial. Should you require any further assistance, please do not hesitate to contact us.

    Best Regards,
    The 8Theme Team

  • Viewing 2 results - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.