Jump to content

change alignment of newsletter form in mobile view only

Recommended Posts

https://www.ana-uribe.com

password: hello

Hi!

I am trying to change the newsletter block alignment to "left" in mobile view only.

I don't know how to make the alignment "right" in desktop view and "left" in mobile view.

Can someone please help?

I tried using some custom CSS to make it all align left in mobile view, but I could only get the description text "Sign up for my newsletter" to align "left"

To do this I used:

Quote


@media screen and (max-width:640px) {
   .newsletter-form-header-description {
       float: left !important;    
  }
}

 

Anyway, I need the whole newsletter block to align left in mobile view.

Can anyone help?1615897467_ScreenShot2022-11-25at5_48_39pm.thumb.png.11af2bc1b06699eed89ec2b813a4135c.png

Much appreciated,

 

Dan

Link to comment
  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Posted Images

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.