Staff replied Templates

Gourmand - Image layouts add-on - tablet image aspect ratio fail

Asked by seooes 3 years ago Last activity 3 years ago

Hi!

Image layouts add-on stretch the image on tablet-view. Desktop and mobile seems to work correctly.

6 replies

Ofi Khan Staff

Hello seooes

You need to adjust the settings. I would like to check the page. But your given credentials do not match. Please check and share again.

Best regards

seooes Asked this

Hi I updated the credentials, can you login now?

seooes Asked this

https://ibb.co/qy7NqNL

The image appears to stretch if the text area is taller than the image. The fit option adjusts the image according to the height of the text, but without this option the image will stretch a lot.

Joomla 4,
Page Builder 4.0.7,
Gourmand 2.0.0 template

seooes Asked this

I fixed the problem by adding this to the custom code, but it would be great if you could fix this in add-on.

.image-layout-preset-style-card .sppb-addon-image-layout-image {
height:auto !important;
}

Ofi Khan Staff

Glad that you have fixed it.

Log in to reply.