Join the Soledad Facebook Users Group here
for Share, assistance, discussion, and Updates related to Soledad WordPress Theme.

If you can't create a new ticket - you can send us an email via our contact form and we will get back to you.

Okay
  Public Ticket #4310746
Exclude widget from lazy load
Open

Comments

  • Volodymyr started the conversation

    What scripts or CSS files should I exclude from speed optimisation so that the Sina Post Carousel Elementor widget displays immediately, rather than after an action on the page?

    Attached files:  Без-имени-1.jpg

  •  2,944
    PenciDesign replied

    Hi,

    Unfortunately, the current version of the Penci Shortcode & Performance plugin does not support disabling lazy load for specific Elementor elements outside the Soledad theme sidebar. We will consider adding this option in a future theme update.

    Regards,
    PenciDesign.

  • Volodymyr replied

    It's a real shame that you don't know your own product and didn't even spend 5 minutes to look into this issue. After all, it's enough to just add the scripts to the exceptions for the widget to load immediately. Very disappointing.

  •  2,944
    PenciDesign replied

    Hi,

    Please check my reply carefully. You installed and are using the slider from the Sina Extension for Elementor, correct? The lazy loading is managed by that plugin, not by the Soledad theme.

    You're also using Penci Shortcode & Performance to lazy-load JavaScript. This delays all JS until a user interacts with the site, which also delays the JS for the Sina Extension. To show the slider immediately, disable the JavaScript delay feature at Appearance → Customize → Speed Optimizations → Optimize JavaScript.

    Regards,
    PenciDesign.

  •  2,944
    PenciDesign replied

    Hi,

    I have a custom CSS snippet for you that forces the Sina Slider to display without turning off any settings.

    Please go to Appearance → Customize → Custom CSS then add the following custom CSS code:

    .sina-posts-carousel.owl-carousel:not(.owl-loaded) {
      display: block;
    }
    .sina-posts-carousel.owl-carousel:not(.owl-loaded) .sina-pc-thumb {
      display: none;
    }
    .sina-posts-carousel.owl-carousel:not(.owl-loaded) .sina-pc-thumb:first-child {
      display: block;
    }

    Regards,
    PenciDesign.

  • Volodymyr replied

    Thanks for the answer!

    My question was about
    Sina Post Carousel Elementor widget  - not Sina Slider.

    I would like to get a professional answer from the developer, what scripts, css or selectors to exclude from optimization soledad. Like this:

    Exclude Scripts from Delay Execution

    owl.carousel.min.js
    sina-widgets.min.js
    frontend.min.js
    frontend-modules.min.js
    elementorFrontendConfig
    elementor-frontend-js-extra
    elementor-waypoints
    webpack.runtime.min.js

    Exclude Stylesheets from Optimize CSS

    sina-widgets.min.css
    owl.carousel.min.css
    animate-merge.min.css

    Best regard

    Attached files:  Screenshot 2025-08-12 100953.png

  •  2,944
    PenciDesign replied

    Hi,

    The code I sent excludes the slider at the top of the homepage, similar to the screenshot you shared earlier.

    Regards,
    PenciDesign.

  • Volodymyr replied

    Thank you for your response, but it doesn’t help because the animation doesn’t start.

  •  2,944
    PenciDesign replied

    Hi,

    You need to exclude the two files below if you want to enable the animation:

    owl.carousel.min.js
    sina-widgets.min.js

    Regards,
    PenciDesign.

  • Volodymyr replied

    Thank you for your answers, and although your solution doesn’t work, please close this question — I’ll do it myself faster. I can see that you don’t understand your own product.