Jump to content

Reduce padding around newsletter

Go to solution Solved by tuanphan,

Recommended Posts

  • Replies 3
  • Views 1k
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

  • Solution
Posted (edited)

You can use this CSS code

@media screen and (min-width:768px) {
.newsletter-form-body>* {
    width: 50% !important;
}
.newsletter-form-body .newsletter-form-fields-wrapper {
    width: 80% !important;
}
.newsletter-form-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.newsletter-form-footnote {
    display: none !important;
}
.newsletter-block .newsletter-form-field-wrapper {
    min-width:unset !important;
    width: 100% !important;
}
button.newsletter-form-button.sqs-system-button.sqs-editable-button-layout.sqs-editable-button-style.sqs-editable-button-shape.sqs-button-element--primary {
    width: 100% !important;
}
.captcha-container.sqs-form-rendered.align-center {
    display: none !important;
}
}

image.thumb.png.89c0026dd83646e1f33b4ce894c1415e.png

Edited by tuanphan
update email width code

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

Posted

@tuanphan thank you! This worked perfectly! Now, is there a way to adjust the width of each element? For example, I would like the "email address" input to be longer, and the "submit" button to be shorter. 

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.