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
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
Hey Rikard, I tried your code but I can’t see any difference. Let me know if you need admin logins.
Best regards /Michael