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

    Hey guys,

    I love the ease of using the iframe=true parameter.
    However, can I pass custom dimensions to the iframe?

    #410088

    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

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