Jump to content

Resize Code Block for Web Form

Recommended Posts

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

13 hours ago, schopmeyer said:

Site URL: https://schopinsurance.com/lead-form

You can see on the site, I cannot get this webform from Airtable to resize on the site. I tried following this advice from another post: 

Add to Home > Design > Custom CSS


div#block-yui_3_17_2_1_1556186893931_4115 iframe {
    height: 2000px !Important;
}

 

But that did not seem to change anything. Thanks in advance for the advice!

Chris Schopmeyer

Add to Design > Custom CSS

/* resize code block */
div#block-yui_3_17_2_1_1618329347619_7031 iframe {
    width: 100% !important;
    height: 2000px;
}
@media screen and (max-width:767px) {
div#block-yui_3_17_2_1_1618329347619_7031 iframe {
    width: 100% !important;
    height: 2100px;
}
}

 

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

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.