Tagged: image, lighbox, max height
Hello,
I need to remove the limit on the size of images in the lightbox of the Masonry Gallery.
I believe it is currently limited to 514 px: http://allisonparkinson.co.uk/wp/portfolio-item/kidney-research-rachel-edwards/
element {
max-height: 514px;
}
I need it to be full native size, I need to remove this limit. Can you please help me do it?
many thanks,
Peter
Hey Peter!
That number changes depending on the available vertical space of the user so the whole image can be viewed, if you don’t like this functionality you can disable it with the following code (add it to Quick CSS):
img.mfp-img {
max-height: initial !important;
}
Best regards,
Josue
Many thank Josue,
This is what I needed.
Greatly appreciated
regards
Peter
PS. Please close the call
You are welcome Peter, glad to help :)
Regards,
Josue