IMG max-width: 100%
-
Hi Armin,
How can I limit the max-width of an image to 100%?For example, let's say I have an image that is 1000px. If I make that image to fit within all columns in gridder, it gets stretched out to >1000px when the view port is large. Is there anyway to limit image size to 100% width?
I've tried using Chrome's inspector tool and writing CSS, but it doesn't seem to work.
Any help is much appreciated! Thank you.
-
Hey, maybe a good solution for you is to use the max-width option in "lay options" -> "Max width of content"
Does that help?
I'm afraid there is no other option for something like that.
Try this to fix issues before you post:
Use the Search Feature. Maybe there is already a solution to your issue.
1. Update Lay Theme and all Lay Theme Addons
2. Disable all Plugins
3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
4. Now see if your problem solved itself
5. Go here, see if your problem is listed here:
Troubleshooting
When you post:
1. Post a link to where the problem is
2. If the problem is difficult to explain, post screenshots / link to a video to explain it