Jump to content

Newsletter forum alignment on mobile vs. desktop

Recommended Posts

I want my newsletter form to be aligned left on desktop and centered on mobile.  I have tried several codes, but nothing seems to work. I have used custom CSS to make this newsletter form and I believe it is preventing the code i've tried from solving this issue. 

Any help with this would be greatly appreciated, as this is the last thing I have to complete before I can publish the website. 

https://www.gildedageantiques.com/

ps: Williamsworld

Screenshot 2024-08-07 at 6.28.36 PM.png

Link to comment
  • Replies 1
  • Views 687
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

@Macey You can add this code under Website > Pages > Website Tools > Custom CSS

.newsletter-block .newsletter-form-body {
    display: flex;
    justify-content: center;
    gap: 5px;
}

If you want to center the newsletter form only in the footer, use this code instead:"

#footer-sections .newsletter-block .newsletter-form-body {
    display: flex;
    justify-content: center;
    gap: 5px;
}

 

If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. 

Sam
Web Developer & Digital Designer

 Did you find my contribution helpful? Buy me a coffee?

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.