Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
Dwjngs

Embedded iFrame Height

Recommended Posts

Hello!

I'm trying to get an embedded form within an iframe to display its full height and would welcome any suggestions for tweaks or custom code needed to make it happen. Thanks in advance for your help!

Template is Clay. Here's the page: https://pvactx.org/mailing-list

Edited by Dwjngs
spelling

Share this post


Link to post

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. 🙂 

Share this post


Link to post

@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. 


World-class Squarespace Developer and Squarespace Circle Leader with a strong reputation on the Squarespace Forum.
I'm trusted by hundreds of Squarespace users worldwide, including designers, freelancers, business owners and big agencies.

I can tackle anything from small tweaks to full websites and I'm available for short and long bookings (min. 1 hour).
Book via my website giving as much notice as possible. Note that I'm currently booked until the end of May 2020.
Prebuilt Squarespace Extensions for Squarespace 7.0 and 7.1: Enquiry Form ExtensionDate Picker Extension and Age Verification Extension 
Custom Squarespace Extensions: Tell me about the functionality you need

**NEW** Our popular Wishlist extension is now Squarespace 7.1 compatible.

Share this post


Link to post

Create an account or sign in to comment

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


×
×
  • Create New...