Jump to content

How to align newsletter to center on mobile only?

Go to solution Solved by Lesum,

Recommended Posts

Hello,

I am new to customizing the site with CSS. On the desktop version, my newsletter (in the footer) is aligned to the left. However, on mobile, I would like the newsletter to be aligned to the right.

 

Any help is appreciated :)

Link to comment
  • Replies 6
  • Views 1.7k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

  • Solution

@Emir You can add this code snippet within the Custom CSS panel:

@media only screen and (max-width: 767px) {
	.newsletter-block .newsletter-form-wrapper--alignLeft .newsletter-form {
		text-align: right !important;
	}
}

 

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.