Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hey guys!
Website:
www.shopstellory.com/products/sticky-inserts
Please check this video:
My main product photo is causing a lot of CLS, could anyone please guide me on how to set fixed parameters for the main product photo so I can get rid of the CLS?
Thanks!
Dealing with CLS issues can be tricky, but setting fixed parameters for your main product photo can definitely help.
Here are some steps you can follow:
Set Fixed Dimensions:
Use CSS:
Reserve Space with Aspect Ratio:
By setting fixed dimensions and reserving space, you can reduce CLS and improve your site's user experience.
Hope this helps!
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024