I would like the images to open in lightbox in full size. At the moment they appear a little smaller than the photos I insert. Which settings should I change?
Thank you.
This topic has 4 replies, 2 voices, and was last updated 10 years, 1 months ago ago by Eva Kemp
I would like the images to open in lightbox in full size. At the moment they appear a little smaller than the photos I insert. Which settings should I change?
Thank you.
Hello,
You can try to add this code in custom.css file:
img.mfp-img {
width: 1000px !important;
max-width: 100% !important;
}
Thank you.
Regards,
Eva Kemp.
I´ve added the code.
However, 1000px was way too big so I changed it to 800.
The code works perfectly with landscape images, but it compresses portrait photos. Please see the screenshots in the private content.
Which code should I use so that both images types look good in lightbox?
Thanks in advance.
Hello,
In this case your images should have such original dimensions 1425px × 1900px.
Sorry, but as now your images are small in sizes, they won’t be shown properly in lightbox for full width.
Regards,
Eva Kemp.
You must be logged in to reply to this topic.Log in/Sign up