Reply 314157 to: pls visit my site and tell me how to eliminate this layout shift

Avatar: Olga Barlow
Olga Barlow
Support staff
January 10, 2022 at 18:45

Hello,

You changed not the image but the slider layout type to full-width. So, the height of the slider changes depending of the device with and that code is not very suitable in this case. You may try to replace

.vc_row.wpb_row.et-custom-height {
min-height: 436px;
} 

with

.vc_row.wpb_row.et-custom-height {
    min-height: 50vw;
}

And

.et-custom-height {
min-height: 200px;
}

with

.et-custom-height {
min-height: 312px;
}

But not sure if it helps a lot.

Regards

Go To The Whole Conversation In Topic
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.