Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Request you to please help me out with the page speed of my website.
LCP: 4.0 s
First Contentful Paint:1.8 s
Total Blocking Time: 480 ms
Speed Index: 3.1 s
The LCP is very high. the first images seems to be lazy loading as per the google report. If I go to theme.liquid in the head, i don't see any lazy setting.
Solved! Go to the solution
This is an accepted solution.
To fix this, you need to make a small modification to your image-banner.liquid file, not theme.liquid.
All you need to do is, in the image-banner.liquid file, find the first line of code that says: "loading: 'lazy'," (without the double quotes) and either delete it or replace 'lazy' with 'eager' (be sure to keep the comma after 'eager'). That'll take care of the Lazy loading issue.
This is an accepted solution.
To fix this, you need to make a small modification to your image-banner.liquid file, not theme.liquid.
All you need to do is, in the image-banner.liquid file, find the first line of code that says: "loading: 'lazy'," (without the double quotes) and either delete it or replace 'lazy' with 'eager' (be sure to keep the comma after 'eager'). That'll take care of the Lazy loading issue.
Thank you John, This helped immensely!
No problem at all. Glad you found it helpful.
In Canada, payment processors, like those that provide payment processing services t...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025