Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #388257


    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:

    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,

    • This topic was modified 9 years, 5 months ago by TheElear.

    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,


    Many thank Josue,

    This is what I needed.
    Greatly appreciated


    PS. Please close the call


    You are welcome Peter, glad to help :)


Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Maximum size of lightbox image’ is closed to new replies.