Image height relative to row height
-
Hello!
I'm working on a website and would like to know if there's a way to have an image with its height relative to the height of the row, dependent on the amount of text it has.Example below. I'd like the photo to occupy half the width of the row, but the height always changing (and cropping the picture) according to the text on the left, so that there is never any white space below the picture.
I tried doing it with a carousel with only one picture but the possibilities of varying heights are only vh and svh, which doesn't suit my needs.
Thanks for any help!
-
Hey Miguel, that's a great idea. Let me think about it.
I also code custom websites or custom Lay features.
💿 Email me here: 💿
info@laytheme.com
Before you post:
- When using a WordPress Cache plugin, disable it or clear your cache.
- Update Lay Theme and all Lay Theme Addons
- Disable all Plugins
- Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code", click "Save Changes"
This often solves issues you might run into
When you post:
- Post a link to where the problem is
- Does the problem happen on Chrome, Firefox, Safari or iPhone or Android?
- If the problem is difficult to explain, post screenshots / link to a video to explain it