Hey guys,
I love the ease of using the iframe=true parameter.
However, can I pass custom dimensions to the iframe?
Hey hansmeiser!
I don’t think the magnific popup has an option for that, http://dimsemenov.com/plugins/magnific-popup/documentation.html#iframe-type.
You can use this CSS though.
.mfp-iframe-scaler {
max-width: 500px;
}
If you need to use it only in one page then drag a codeblock element to your page and add this inside.
<style type = "text/css">
.mfp-iframe-scaler {
max-width: 500px;
}
</style>
Cheers!
Elliott