Hi,
Iframes are technically a separate webpage you display within your webpage. It’s like opening a browser window within your page. You can’t control how it displays by normal means.
That said, custom script may work but I’m afraid that is out of GeneratePress’ scope of support.
But, for the sake of helping you out, try this javascript:
var iframe = document.getElementsByTagName('iframe')[0];
iframe.addEventListener("load", function() {
window.frames[0].document.body.style.width = '100%';
window.frames[0].document.getElementById("contents").style.padding = '100px 0% 50px 0%; !important';
});
We’re basically styling the iframe when it loads using javascript here. I’m afraid it’s not guaranteed to work.
You can add this script using Code Snippets btw.