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

    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

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

    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

    #388737

    Many thank Josue,

    This is what I needed.
    Greatly appreciated

    regards
    Peter

    PS. Please close the call

    #388877

    You are welcome Peter, glad to help :)

    Regards,
    Josue

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