Archived topic
Responsive image
5 replies · Started by cpalo on May 24, 2021
https://ibb.co/gMDPhfg
https://ibb.co/Hp23Nd2
Split Content
Good evening,
Split content is made from two containers:
the first contains the image and the second the text.
How to resize the image as it is cropped. according to the height of the second container?
Hi there,
The height of containers under Grid will be the same as the height of the higher container by default.
In your case, the image container doesn't have a specific height, so it reaches the same height as the text container.
You can set a min-height for the image container, for example: 500px, if 500px is higher than the text container, then both container will become 500px.
If you just simply want the image to show fully, then set the size under the background tab to containinstead of cover.
Hope that's helpful!
Hello
With contain it's ok.
Small question, I can not find where to give a height to the container d el'image.
Hi there,
Small question, I can not find where to give a height to the container d el’image.
Under the Container Block's spacing tab, you can use the "Minimum height" text field to define the height of the container.
https://share.getcloudapp.com/Z4uKdGWg
Thanks
It's OK
No problem. :)