Jump to content

Newsletter field: Decrease spacing between email input form and button when stacked

Go to solution Solved by tuanphan,

Recommended Posts

Hello!

For my newsletter field, I would like to decrease the spacing between the email address input form and the button when they are stacked. Attached is a screenshot. I'd like to decrease the spacing so it's the same as the width between these two elements when they are floating next to each other horizontally.

Thank you! 😊

 

 

mobile view stacked.png

desktop view.png

Edited by shannoncarroll
Edit for clarity
Link to comment
  • shannoncarroll changed the title to Newsletter field: Decrease spacing between email input form and button when stacked
  • Replies 4
  • Views 528
  • Created
  • Last Reply

Top Posters In This Topic

  • Solution
On 5/22/2023 at 8:53 PM, shannoncarroll said:

Thanks @tuanphan. Here’s the website and the newsletter signup is located at the bottom in the site footer. You can see the stacked version on mobile or in smaller sizes on the desktop.

http://shannonleecarroll.com

Add to Design > Custom CSS

/* Mobile Newsletter */
@media screen and (max-width:767px) {
.newsletter-form-button-wrapper.submit-wrapper {
    margin-top: 0px;
}
}

 

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

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.