Jump to content

Any CSS to Compact Forms?

Recommended Posts

Hello,

I'm looking to see if there is a way to compact the form block at all, or remove certain fields from users view? I've included a screenshot which shows that with just a few fields, it gets very long, and the address field can easily double it. Since my services are local, I would also like to remove the Country field since it's not needed.

Any suggestions on reducing the space between fields and possibly moving the field suggestions (ie, under the Name field, the First Name and Last Name descriptions could go inside the entry spot, similar to how the Newsletter Block handles those fields).

Thank you.

-Jon

form fields.jpg

Link to comment
6 minutes ago, jeepsburg said:

Hello,

I'm looking to see if there is a way to compact the form block at all, or remove certain fields from users view? I've included a screenshot which shows that with just a few fields, it gets very long, and the address field can easily double it. Since my services are local, I would also like to remove the Country field since it's not needed.

Any suggestions on reducing the space between fields and possibly moving the field suggestions (ie, under the Name field, the First Name and Last Name descriptions could go inside the entry spot, similar to how the Newsletter Block handles those fields).

Thank you.

-Jon

form fields.jpg

Can you share your site with the protected password so we can take a look?

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
On 12/27/2021 at 1:01 PM, jeepsburg said:

Unfortunately, it says that I cannot publish the site, even with a password, until I upgrade to a paid version, which I'm not ready to do yet. 

This is on version 7.1, so if you had a test site, I believe it would be the same for you.

Thank you!

You don't need to upgrade to set password. You can follow this guide to add password. 

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
9 hours ago, jeepsburg said:

Ah, I missed that, thank you @tuanphan and @bangank36

Site is available at https://albornsupply.squarespace.com/ with password "alborn"

You can try adding to Home > Design > Custom Css

section[data-section-id="61c936fb5ce2cd161776efc7"] .field-list .field  {
  margin-bottom: 0 !important;
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment

My testing result

image.png.ca408073515e269f350e8d76f95e5ec5.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you!

 

Link to comment
On 12/29/2021 at 12:35 AM, bangank36 said:

You can try adding to Home > Design > Custom Css

section[data-section-id="61c936fb5ce2cd161776efc7"] .field-list .field  {
  margin-bottom: 0 !important;
}

Let me know how it works on your site

Support me by pressing 👍 if this useful for you

Yes, that helps shrink it some, thank you!

Do you think it's possible to also put the "caption-text">City (in this screenshot's example, as well as the other fields), inside the field-element "city" ? Kind of like how the newsletter form has the helper texts inside the fields.

image.thumb.png.1290bcbc5a8636971eedd564258ca7c8.png

Link to comment
1 hour ago, jeepsburg said:

Yes, that helps shrink it some, thank you!

Do you think it's possible to also put the "caption-text">City (in this screenshot's example, as well as the other fields), inside the field-element "city" ? Kind of like how the newsletter form has the helper texts inside the fields.

image.thumb.png.1290bcbc5a8636971eedd564258ca7c8.png

Is it what you mean?

image.png.c42d03ebf1178f2dffc38364dea1aa30.png

BeyondSpace - Squarespace Website Developer

🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox)
🗓️ Delivery Date Picker (Squarespace Date picker form field)
💫 Gallery block 7.1 workaround
🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations)
🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates)

If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. 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.