Jump to content

Form Button not reducing in size

Recommended Posts

Hi there, 

 

I am trying to reduce the top and bottom padding white space in this form button and this is the smallest I've been able to get it. But it's just refusing to go any lower than it is, even with smaller px as you can see in the Custom CSS box. 

I've attached the Inspect if this is any help. 

 

Could someone tell me why it's not removing the white space and how to code it so that it removes the space?

 

Thank you to whoever can help with this!

Inspect.PNG

form button.PNG

Link to comment
  • Replies 6
  • Views 276
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

3 hours ago, coja said:

Hi there, 

 

I am trying to reduce the top and bottom padding white space in this form button and this is the smallest I've been able to get it. But it's just refusing to go any lower than it is, even with smaller px as you can see in the Custom CSS box. 

I've attached the Inspect if this is any help. 

 

Could someone tell me why it's not removing the white space and how to code it so that it removes the space?

 

Thank you to whoever can help with this!

Inspect.PNG

form button.PNG

Can you share your site with the protected password so I 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
12 hours ago, coja said:

Hi there, 

 

I am trying to reduce the top and bottom padding white space in this form button and this is the smallest I've been able to get it. But it's just refusing to go any lower than it is, even with smaller px as you can see in the Custom CSS box. 

I've attached the Inspect if this is any help. 

 

Could someone tell me why it's not removing the white space and how to code it so that it removes the space?

 

Thank you to whoever can help with this!

Inspect.PNG

form button.PNG

Try adding to Home > design > Custom Css

.sqs-block-form  .sqs-system-button[type="submit"] {
  height: 100%;
}

Support me by pressing 👍  or marking as solution 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
10 hours ago, coja said:

Thank you , I have attached the best I could do with custom CSS and an image when I paste your code in, it's still showing a huge height whitespace 😞 

variant.PNG

original.PNG

You can try 

#siteWrapper.site-wrapper .sqs-block-form  .sqs-system-button[type="submit"] {
  height: 100%;
  padding-top: 0.5em;
  padding-bottom: 0.5em;
}

 

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

image.thumb.png.77bbba0f38ab1709b54af26ea0863c14.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.