Jump to content

Decrease padding of Newsletter block

Recommended Posts

Posted (edited)

Site URL: https://www.friendsofrecoveryneo.com/for-support

I'm trying to decrease the bottom padding of a newsletter subscription form (the area of the red box in the image below).  Actually, I'd like to adjust the spacing at the top and between the small text and the email address field, too!  I've tried every solution provided in other posts but nothing has worked.  Can anyone help me out?  Thanks!

image.png

Edited by FORNEO
add more info
  • FORNEO changed the title to Decrease padding of Newsletter block
  • 2 weeks later...
  • 2 years later...
Posted
On 7/13/2024 at 6:42 AM, ellen_b said:

@tuanphan

Hi there, following up on this one as I just tried it without success. I'd love to get the padding at the bottom of this newsletter block to match the top, especially on mobile, if possible. (I did grab the correct block ID) It works to add padding to the top but not the bottom. 

Site url: https://thesucculentstudio.squarespace.com/?password=new

Any advice would be much appreciated!

Screenshot 2024-07-12 at 4.38.44 PM.png

I see it already fine

image.png.052aaadd832b580e0cecc0ab5644e7f0.png

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!)

  • 2 months later...
Posted

Would like to reduce the padding on desktop and mobile for my newsletter block. i.e. space before and after email address box and before the sign up button. See www.pdxjazz.org (towards bottom of homepage)

mobileUntitled.jpg

Posted
On 9/17/2024 at 10:02 AM, cassiepdx said:

Would like to reduce the padding on desktop and mobile for my newsletter block. i.e. space before and after email address box and before the sign up button. See www.pdxjazz.org (towards bottom of homepage)

mobileUntitled.jpg

You can use this to  Website Tools > Custom CSS

@media screen and (max-width:767px) {
.newsletter-block .newsletter-form-fields-wrapper {
    margin-top: 0px !important;
}
.newsletter-block .newsletter-form-fields-wrapper>div {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}
.newsletter-form-button-wrapper.submit-wrapper {
    padding-top: 0px !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!)

  • 4 weeks later...
Posted
On 9/18/2024 at 6:32 AM, tuanphan said:

You can use this to  Website Tools > Custom CSS

@media screen and (max-width:767px) {
.newsletter-block .newsletter-form-fields-wrapper {
    margin-top: 0px !important;
}
.newsletter-block .newsletter-form-fields-wrapper>div {
    padding-top: 0px !important;
    padding-bottom: 0px !important;
}
.newsletter-form-button-wrapper.submit-wrapper {
    padding-top: 0px !important;
}
}

 

Unfortunately adding it to my CSS didn't produce any changes?

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.