max-width for images in lightbox
-
-
-
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
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login