Jump to content

How to separate form blocks response areas/cells

Recommended Posts

  • 2 weeks later...
On 5/4/2023 at 6:24 PM, christerdabu said:

Out of nowhere my form blocks in my inquiry page are now touching each other. There are no longer gaps in between the blocks, How can I fix this?

This has happened because Squarespace engineers rolled out a new Form Block in May 2023. This new Form Block has different markup and has been restyled. Anyone using custom CSS (like you have added to show fields next to one another) needs to update their CSS to make it compatible with the new form.

Specifically, you'll want to add some margin to the fields that you're placing side-by-side. For example, to add 4 pixels of right-margin, you could use something like this:

.form-wrapper .react-form-contents .field-list .field {
  margin: 0 4px 18px;
}

Did this help? Please give feedback by clicking an icon below  ⬇️

Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥.
Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. 
Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links.
Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.

Would you like your customers to be able to mark their favourite products in your Squarespace store?

Link to comment
  • 2 months later...
On 5/19/2023 at 1:25 AM, paul2009 said:

This has happened because Squarespace engineers rolled out a new Form Block in May 2023. This new Form Block has different markup and has been restyled. Anyone using custom CSS (like you have added to show fields next to one another) needs to update their CSS to make it compatible with the new form.

Specifically, you'll want to add some margin to the fields that you're placing side-by-side. For example, to add 4 pixels of right-margin, you could use something like this:

.form-wrapper .react-form-contents .field-list .field {
  margin: 0 4px 18px;
}

Did this help? Please give feedback by clicking an icon below  ⬇️

So I tried this and it worked, but after refreshing the page a few times it goes back to no spacing.

Link to comment

It appears SS is sneaking in a CSS file after your custom CSS which is overriding your CSS. As a temporary fix add !important to the declaration.

margin : 0 4px 18px !important;

Let us know how it goes.

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.

Link to comment
  • 1 month later...

Hello,

I recently just noticed that the gap disappeared again. There's no spacing in my inquiry form again.

It's weird because when I'm viewing my website online there's no gap

image.thumb.png.103c5e0aee1172a279f4695741f15464.png

 

but when I'm on the custom CSS page in squarespace there is a gap.

image.thumb.png.3040157dc44b670c06f4ddebcbdefcbf.png

 

Can someone help me put the gap between the fields permanently? Thank you

image.png

Link to comment
On 9/11/2023 at 5:16 AM, christerdabu said:

Hello,

I recently just noticed that the gap disappeared again. There's no spacing in my inquiry form again.

It's weird because when I'm viewing my website online there's no gap

image.thumb.png.103c5e0aee1172a279f4695741f15464.png

 

but when I'm on the custom CSS page in squarespace there is a gap.

image.thumb.png.3040157dc44b670c06f4ddebcbdefcbf.png

 

Can someone help me put the gap between the fields permanently? Thank you

image.png

In bottom of CSS code, find this

.form-wrapper .react-form-contents .field-list .field {
    margin: 0 6px 18px
}

change it to

.form-wrapper .react-form-contents .field-list .field {
    margin: 0 3px 18px !important;
}

 

Email me if you have need any help (free, of course.). Answer within 24 hours. 
Or send to forum message

Contact Customer Care - Learn CSS - Buy me a coffee (thank you!)

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.