Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1075922

    Hi! I’m using a button to open an iframe with external content and I would like to add some padding or margin to the iframe. It’s a form and it doesn’t look good when it aligns the edges. Also I wonder if I can control the size of the iframe? It would look better if it was slightly wider so the form wouldn’t get horizontal scrollbars. Link in private section. Hope you can help

    /Michael

    #1076597

    Hey musklick,

    Please try the following in Quick CSS under Enfold->General Styling:

    .page-id-159 .mfp-iframe-holder .mfp-content {
        max-width: 1200px;
    }
    
    .page-id-159 .mfp-iframe {
        border: 10px solid white;
    }

    Best regards,
    Rikard

    #1077237

    Hey Rikard, I tried your code but I can’t see any difference. Let me know if you need admin logins.
    Best regards /Michael

    #1077663

    Hi Michael,

    I see the code applying on the page you initially linked to, please clear your browser cache and reload the page if you don’t see any difference.

    Best regards,
    Rikard

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