fixed height image with contain - effect problem
-
Hi Armin,
Shadow, border, background etc. are on the container and not on the image.
Is this ok or you can fix it?
https://www.dropbox.com/scl/fi/b5udjr4ns4eig2nbee52a/img.png?rlkey=gyqym6yhpvx8emkn9mzurm6a7&dl=0
-

Hey, oh yeah, I mean, this is actually how browsers size elements and images when using contain, so it might look like the container is styled, but actually it is the image element, as you can see here. But that doesn't really fix the problem.
Ok, let me think about how best to solve this. Not sure if it's going to be too complicated, maybe? I will have to think about it.
-
okay, it will be fixed with the next update. It will use filter CSS in this case, which works for images that are sized like this, but it may look a little different then
For paid 1-on-1 Lay Theme Coaching, contact Audrey (audrey@cyberslayers.work) or me (info@laytheme.com).
We also code custom websites or bespoke Lay features. Drop me a line at info@laytheme.com or check out my work at arminunruh.com.
Want to support my work? paypal.me/arminunruh
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