max-width for images in lightbox
-
Hey Armin,
is there any way to prevent that the images are shown up bigger than their original size in the lightbox?best
oli -
-
Hi @mariusjopen,
i attached a screenshot… in the background you can see the blury lightbox image.
On top you see the jpg in original size (using the hover-zoom browser plugin).It would be great if there is a way to set a max-width for the pictures shown up in the lightbox… or an option that the images are not shown up bigger than their og-size.
Best!
Oli -
-
Hi @mariusjopen
here you go: http://oliverzuber.de/wp1Best!
Oli -
Hi @oli
so on big screens you want to limit the size of the lightbox image to the original size?Best!
Marius
-
Hi @mariusjopen
Yes!Best
Oli -
Hi @oli
you can add this to your CUSTOM CSS
.lightbox-image-holder img { height: initial !important; width: initial !important; }
Let me know if that worked out.
Best!
Marius
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