• Resolved Anonymous User 17142718

    (@anonymized-17142718)


    The JS of this plugin loaded before </body>, it comes after any JS files, even if the js files $in_footer parameter (wp_enqueue_script()) is “true”.

    So when I use with Light-Slider JS, the height of Light-Slider content is not justified.

    How can I set Light-slider JS comes after Lazy-load?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor WP Rocket

    (@wp_rocket)

    Hi,

    Most of the time, sliders and lazyloading don’t behave well together. The best thing to do is to exclude sliders images from lazyloading.

    Thread Starter Anonymous User 17142718

    (@anonymized-17142718)

    Thank you for your reply.
    Would you let me know, how can I do to set exclude sliders images only?

    Plugin Contributor WP Rocket

    (@wp_rocket)

    You can use the filters rocket_lazyload_excluded_attributes or rocket_lazyload_excluded_src to exclude specific patterns from lazyload.

    Thread Starter Anonymous User 17142718

    (@anonymized-17142718)

    thank you very much!!

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘use with light slider’ is closed to new replies.