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!
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;
}
Hi,
Thanks for helping out @guenni007. Did you try that out and did you have any luck with it @crabby11?
Best regards,
Rikard