Jump to content

Newsletter Submit button alignment on mobile

Recommended Posts

Hello! I have a newsletter block in the footer of my website that looks exactly how I want it to on desktop (with some light coding), but when I look at it on mobile it places the "sign up" button below the email form (see pic). How do I get the "sign up" button to stay in line with the email form on mobile? Thank you!

Home — TANCRED.jpeg

Link to comment

Updated:

This code is one of the solutions for your case :

.newsletter-block .newsletter-form-body {
   white-space: nowrap;
}
.newsletter-block .newsletter-form-field-wrapper {
    min-width: 0;
    width: 100%;
    max-width: 18rem;
}

 

Edited by joseph81
missed a code in the top

Jozsef Kerekes - Front-end developer and Squarespace enthusiast
My Blog: https://ui-workarounds.com
If you like my answer, please give me an upvote/like. Highly appreciated.

 

 

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.