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

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

Twiggy
New Member
8 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

Replies 2 (2)

Twiggy
New Member
8 0 0

Nevermind, i found a solution myself 🙂

Aliasgar
Shopify Partner
46 0 4

Hey, can you tell me exactly what you did? I am facing the same issue and need a solution for this. Would really appreciate your help!

 

AZ