Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1359112

    I’m using ?iframe=true to load a text page into a lightbox but can’t control the size of the box. I would like it to take up 90% of the screen both horizontally and vertically.

    Are there any other options that can be set for the lightbox in a link ?

    This is my page – it works by clicking on the text field :

    #1359138

    Hey paulozzello,

    Thank you for the inquiry.

    We could use this css code to adjust the width and height of the lightbox container.

    #top .mfp-wrap {
        height: 90% !important;
    }
    
    #top .mfp-image-holder .mfp-content {
        max-width: 90% !important;
    }

    Please note that the actual size of the lightbox container will still depend on the actual dimension and aspect ratio of the uploaded images.

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.