No width settings in Image Carousel - Forum | JoomShaper
Staff replied SP Page Builder

No width settings in Image Carousel

Asked by Klaus Liedtke 2 years ago Last activity 2 years ago

Hi Paul,

Little problem with PB modul "Image carousel" My pics for the carousel are 282x180px Dimension (1.57) In Google Page speed insights i go the message "wrong dimension" for all pics. The Showing dimension is 382x180 (2.12) I tried all settings for changing the dimension. Max row width, no.of pisc in a row. There is only one setting for the hight, but no for the width of the pics. Any idea what i must do?
U can see it here: https://www.polymersynthese.com/produkte/schlauch/halbschlauchfolie

6 replies

Mehtaz Afsana Borsha Staff

Hi

Thanks for contcating us. You can try custom CSS for changing the width.

-Regards.

Klaus Liedtke Asked this

Hi,
I have no idea what to put there.

Regards

Mehtaz Afsana Borsha Staff

Use this custom CSS in your custom.css file

.sppb-carousel-extended-item.clone {
    width: 282px !important;
}
Klaus Liedtke Asked this

Unfortunately that didn't work. I changed to 252px, but it still displays 282px.

Mehtaz Afsana Borsha Staff

Isn't it ok? I mean what's the problem with its width? You can try the CSS in your custom.css file If it not work then you can stay the width like this.

Klaus Liedtke Asked this

No, it doesn't work. But no problem. I reseized my Images. Now no warnings from Lighthouse. Thx.

Mehtaz Afsana Borsha Staff

Glad to know that. You can now close this post by accepting the answer.

Log in to reply.