Jump to content

7.1 Newsletter Block CSS Help - how to reduce size of email fill form and submit button

Recommended Posts

I would like your help please with code to adjust/decrease the size of the email fill form box and submit button (visual attached of desktop and mobile/tablet) located in my footer on version 7.1. The email fill form box and submit button are too large and do not shrink when I try to change button size in Squarespace's built in button size adjustment tool.

Thanks so much! 

7.1 Newsletter Block Fill Form and Submit Button Too Large - Desktop.png

7.1 Newsletter Block Fill Form and Submit Button Too Large - Mobile.png

Link to comment
23 hours ago, CarolynSmith said:

Add to Home > Design > Custom CSS

.sqs-block-newsletter .newsletter-form-field-element {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}
button.newsletter-form-button.sqs-system-button {
    padding-top: 10px !important;
    padding-bottom: 10px !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
12 hours ago, tuanphan said:

Add to Home > Design > Custom CSS


.sqs-block-newsletter .newsletter-form-field-element {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}
button.newsletter-form-button.sqs-system-button {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

 

Thank you so much! 

Link to comment
  • 8 months later...

Hi Tuan,

 

How do you change the font size of the button in a newsletter block? I have tried your method, and no luck so far.

 

Quote

button.newsletter-form-button.sqs-system-button {font-size:10px !important}

Nothing is happening to it.

Link to comment
19 hours ago, HarKS said:

Hi Tuan,

 

How do you change the font size of the button in a newsletter block? I have tried your method, and no luck so far.

 

Nothing is happening to it.

Can you share link to page where you use newsletter? We can check easier.

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
  • 8 months later...
On 9/22/2021 at 12:41 AM, margmorg said:

Since I deleted the 'disclaimer' text in the newsletter form on the footer, there is a lot of extra padding at the bottom. do you know how to resolve?  @tuanphan442265418_ScreenShot2021-09-21at11_38_56AM.thumb.png.f89a80d03e1c3df0a901c6fa879ced75.png

Hi,

What is site url?

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
  • 2 weeks later...
On 10/14/2021 at 2:41 AM, margmorg said:

peanut

Try adding to Design > Custom CSS

footer.sections {
.newsletter-form-body {
    padding-bottom: 0 !important;
}

.newsletter-form-footnote {
    display: none;
}
}

 

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
  • 3 weeks later...
On 11/3/2021 at 11:40 PM, sheriipop said:

Hi @tuanphan! I'm trying to get the look of this newsletter block attached below in my footer. Can you help, please? Thank you!!

site url: www.louieandthird.com

pw: LTC

198192240_ScreenShot2021-11-03at09_36_30.png.39da4eb5d8ff1bd7bfffd24d1817480b.png

Hi,

Same for desktop  + mobile, or desktop only?

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
  • 5 months later...
On 4/18/2022 at 10:43 AM, wonderpiece said:

Hi @tuanphan! I've used your CSS on other sites without an issue but for some reason, it's not working on this site: 

https://saffron-lychee-ydn6.squarespace.com/

PW: retro

Would love any advice - thanks! 

You mean form in footer? Reduce space between subscribe text - input/button?

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

This scale for the newsletter form works great - i like the input field being no taller than the button: 

https://www.christycoleman.studio/

image.thumb.png.8e19cbc33ff8fa0ca0954542b2440884.png

 

But the footer form in the site I am building now seems way too big but i'm using the same code as has been suggested here AND in the Christy Coleman site so i'm a little puzzled. The box around "Email Address" is bigger than the Sign Up button and I can't seem to reduce the size of it (which is my goal).

https://saffron-lychee-ydn6.squarespace.com/

image.thumb.png.a4842f3509862ea98e054510ff5a97a6.png

Link to comment
On 4/21/2022 at 10:37 AM, wonderpiece said:

This scale for the newsletter form works great - i like the input field being no taller than the button: 

https://www.christycoleman.studio/

image.thumb.png.8e19cbc33ff8fa0ca0954542b2440884.png

 

But the footer form in the site I am building now seems way too big but i'm using the same code as has been suggested here AND in the Christy Coleman site so i'm a little puzzled. The box around "Email Address" is bigger than the Sign Up button and I can't seem to reduce the size of it (which is my goal).

https://saffron-lychee-ydn6.squarespace.com/

image.thumb.png.a4842f3509862ea98e054510ff5a97a6.png

Use this CSS

footer.sections input.newsletter-form-field-element.field-element {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    font-size: 14px !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
  • 6 months later...
On 4/20/2020 at 3:57 PM, tuanphan said:

Add to Home > Design > Custom CSS

.sqs-block-newsletter .newsletter-form-field-element {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}
button.newsletter-form-button.sqs-system-button {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

 

This worked pretty precisely, 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.