Jump to content

Setting the size of iframe to full viewport or larger than code block default

Recommended Posts

Site URL: https://cheetah-capybera-ewxp.squarespace.com/tvtest1

Hi, We are trying to add a page to our site that will host a large iframe.

In the image attached, you can see that our iframe is within a div from Squarespace called sqs-block-content. This div is a limited size. We tried putting a inline style on our iframe in the code block of width 100vw, height 100vh. Nothing happens.

 

Is there a way to override the code block default styling ?

Screen Shot 2021-06-22 at 8.14.13 PM.png

Edited by gwhiz
Link to comment
  • gwhiz changed the title to Setting the size of iframe to full viewport or larger than code block default
  • Replies 1
  • Views 412
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.