alanna-oc Posted March 15, 2021 Share Posted March 15, 2021 Site URL: https://oscollective.org/donate I've embedded an iFrame using a code block. You can see it here: https://oscollective.org/donate The problem is, it's showing up in a tiny box instead of the full width. I want it to expand to the whole page to show all its content. How do I make it bigger? It doesn't have any spacers or anything making it that small. It's the only element on the page. The code I embedded is very simple, just: <iframe src="https://opencollective.com/embed/opensource/donate" /> I asked the developers of the embedded iFrame and they said the size isn't determined by the iFrame itself, but how my site displays it, so I need to fix it on my side. Link to comment
tuanphan Posted March 26, 2021 Share Posted March 26, 2021 On 3/15/2021 at 9:43 AM, alanna-oc said: Site URL: https://oscollective.org/donate I've embedded an iFrame using a code block. You can see it here: https://oscollective.org/donate The problem is, it's showing up in a tiny box instead of the full width. I want it to expand to the whole page to show all its content. How do I make it bigger? It doesn't have any spacers or anything making it that small. It's the only element on the page. The code I embedded is very simple, just: <iframe src="https://opencollective.com/embed/opensource/donate" /> I asked the developers of the embedded iFrame and they said the size isn't determined by the iFrame itself, but how my site displays it, so I need to fix it on my side. Hi, Add to Design > Custom CSS /* Donate iframe */ div#block-yui_3_17_2_1_1615492631395_3698 { width: 100%; } div#block-yui_3_17_2_1_1615492631395_3698 iframe { min-height: 1000px !important; } Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message How to: Setup Password & Share url - Insert Custom CSS - Page Header - Upload Custom Font - Upload File - Find Block ID - Contact Customer Care Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment