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.
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
Forgot your key, lost your files, need a previous Lay Theme or Addon version?
Go to www.laykeymanager.com