Hello,
I’m currently using the vantage theme and trying to make an Iframe 100% height. Is there anyway to accomplish this in the way it works for the width? Thanks in advance.
Hello,
I’m currently using the vantage theme and trying to make an Iframe 100% height. Is there anyway to accomplish this in the way it works for the width? Thanks in advance.
This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.
Hi Ace,
Do you have a public URL where we can take a look at your setup? This will (hopefully) allow me to provide instructions on doing this based on your specific setup (how you’re adding the iframe, the CSS you’re applying, etc).
Sorry it’s not public, but I can tell you all the details of the Iframe and page. It’s full width with no margins, as you can see from the imgur.
Example: https://i.imgur.com/cqe7mpn.png
My problem is that I can’t get the height to adjust like the width does on the page.
Layout of the row: https://i.imgur.com/WiYDUQi.png
Layout of the SiteOrgin Editor Widget : https://i.imgur.com/J04jh65.png
Page Settings : https://i.imgur.com/bAP5Fjy.png
No custom CSS is applied besides whats in the Iframe.
If you need anything else let me know. Thanks.
Hi Ace,
Can you please provide me with a copy of the iframe HTML used?
Didn’t realize it wasn’t showing sorry.
Hi Ace,
Thanks. height: 100% doesn’t allow for what you’re specifically after. You’ll need to use CSS. Please replace replace the following attribute to the provided HTML:
Thank you Alex, it works just about perfect. Only problem is that it includes the navigation bar height and I can scroll down a bit on the page to see the full video.
Hi Ace,
Please reduce height: 100vh; until that no longer occurs.
Thanks a lot Alex. Hope you have a good New years!
Hi Ace,
No problem. You too mate! :)
Please be sure to post another thread if you have any other questions.