Jump to content

Embedded iFrame Height

Recommended Posts

  • Replies 4
  • Created
  • Last Reply

I figured it out! After looking at the source code and identifying the block whose height I wanted to manipulate I added the following to Custom CSS:

div#block-yui_3_17_2_1_1574096368976_8443 iframe {
    height: 1800px;
}

Hope this helps someone else solve a problem. 🙂 

Link to comment

@kerrib the answer above is specific to that website. For it to work on another website, you just change the block-yui reference or remove that part (before iframe) completely. 

About: Squarespace Circle Leader since 2017. I value honesty, transparency, diversity and great design ♥.
Work: Squarespace Developer and founder of SF Digital, building the features Squarespace didn't include™. 
Content: Links in my posts may refer to SF Digital products or may be affiliate links.

Catch up on all the release notes and announcements 2023 [for Circle members only]. There's a public version here too!
If I helped, you can thank me by clicking one of the emojis below. If you prefer, you can buy me a coffee.
Improve your online store with our extensions.

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.