How can I fix poor mobile CLS caused by a product slider?

Twiggy
New Member
6 0 0

Hello,

 

A couple of months ago i installed a custom code for a product slider in my website.

Recently i found out that my mobile CLS is poor (0.35 currently) and the product slider is causing it.

On desktop, this slider is next to my product description not causing a text shift; Om mobile this product slider is on top of my product description which is pushed down when the slider is loaded.

My theme is Dawn.

This is the code i used: https://websensepro.com/blog/how-to-add-product-slider-in-product-page-of-shopify-dawn-theme/

my webshop: pridegiftshop.com

 

Thx

Reply 1 (1)

Twiggy
New Member
6 0 0

Nevermind, i found a solution myself 🙂