Tagged: , ,

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1259039

    Hello,

    I would like to change max dimensions of all ?iframe=true lightboxes on my website.

    I have tried adding the quick css code from various posts (e.g. https://kriesi.at/support/topic/iframetrue-lightbox-custom-dimensions-heightwidth/ ) but it did not work so far.

    The problem I have is that when the width of the window is more than 925px, the lightbox stops scaling with growing size of the window (in other words it stops at approx. 900px width and 500px height and does not grow from that point).

    How do I force all of the lightboxes (that pop up for “?iframe=true” links) to scale further than 925px window / page width?

    Thank you in advance, I love the theme!

    • This topic was modified 3 years, 8 months ago by Crabby11.
    #1259137

    the max-width is set on :

    .mfp-iframe-holder .mfp-content {
        line-height: 0;
        width: 100%;
        max-width: 900px;
    }

    so set on quick css f.e.

    .mfp-iframe-holder .mfp-content {
        max-width: 80vw;
    }
    • This reply was modified 3 years, 8 months ago by Guenni007.
    #1259231

    Hi,

    Thanks for helping out @guenni007. Did you try that out and did you have any luck with it @crabby11?

    Best regards,
    Rikard

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