Jump to content

How to remove the space after an html form block?

Recommended Posts

Posted (edited)

Hello, 

I'm new to the coding side of things. I'm using a third party app for a form on my site... which i added via the code block using a brief snippet of code:

<div class="powr-form-builder" id="6d3c9255_1699917006"></div><script src="https://www.powr.io/powr.js?platform=html"></script>

As you can see in the photo by default for this form there's a huge gap between the end of the form container and the section divider. Even-though i've made the code block size as small as it can be, once published it looks like the image..

Is there some code where i can amend the above to reduce the gap between that is default to the form code thus resulting in the large gap?

 

Moment 2023-11-13 at 2.13.00 PM.png

Moment 2023-11-13 at 2.17.58 PM.png

Edited by kifried
shared code
  • Replies 2
  • Views 1.3k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

Please post the URL for a page on your site where we can see your issue.

A link to the backend of the your site won’t work for us, i.e. a url that contains /config/.

Please set up a site-wide password, if your site is not public and you've not already done so.

Post the password here.

Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site.

Please read the site-wide password and how to share a link documentation to understand how they work.

We can then take a look at your issue.

You may find How to post a forum question post useful.

Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.

Posted
10 hours ago, kifried said:

huge gap between the end of the form container and the section divider. Even-though i've made the code block size as small as it can be, once published it looks like the image..

This is caused by the warning message making the block taller than it needs to be when editing, therefore when you view the page and the warning message is no longer showing there is blank space. 

Add this code to your Custom CSS, save and refresh the page, then edit the block to be shorter:

// hide code block warning message
html.squarespace-damask .sqs-blockStatus, .sqs-block .removed-script {
  display: none !important;
}

 

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

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.