A user is experiencing lazy loading issues with images in featured collections on their Shopify homepage. Images don’t preload when scrolling, and they want to disable lazy loading specifically for these three featured collections.
Proposed Solution:
Another user suggests manually editing the theme code by:
Navigating to Shopify Admin > Online Stores > Edit Code
Opening the “featured-collection.liquid” file
Searching for “lazy” and replacing it with “eager”
Current Status:
The original poster checked their featured-collection.liquid file but found no instances of “lazy” in the code. They shared their file contents, which only contains CSS imports and HTML structure without explicit lazy loading attributes.
The issue remains unresolved, as the suggested fix doesn’t apply to their specific theme implementation. The lazy loading may be configured elsewhere in the theme or through a different mechanism.
Summarized with AI on October 30.
AI used: claude-sonnet-4-5-20250929.
Hi, hope you’re well! When scrolling along a featured collection on my homepage, images aren’t preloaded.
I wonder if there’s a way to turn off lazy loading just for my 3 featured collections on the homepage (supposing that’s the cause as I had some work done a while back to speed up my website).
assign show_desktop_slider = false
if section.settings.enable_desktop_slider and products_to_display > section.settings.columns_desktop
assign show_desktop_slider = true
endif
-%}
{%- if section.settings.title != blank -%}
{{ section.settings.title }}
{%- endif -%}
{%- if section.settings.description != blank
or section.settings.show_description
and section.settings.collection.description != empty
-%}