Dawn theme / Newsletter Heading in footer align left on desktop

Hi there,

Now my Newsletter heading in footer is aligned center on both desktop and mobile. I would love to keep it align center on mobile but change it to the left on desktop. Please check the picture below.

My url: andrejewelry.com

Password: Thanksforyourhelp

Thank you!

Hi @AndreaHuang

Check this one.

  • From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  • Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  • In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:
  • And Save.
@media only screen and (min-width: 750px){
.newsletter-form {
    margin: 0px !important;
}
.footer-block__newsletter {
    text-align: left !important;
}
}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Code to add left alignment on PC devices (add in base.css):

@media (min-width: 768px) {
  .footer-block--newsletter {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .footer-block__newsletter {
    text-align: left !important;
  }
}

Result on PC:

Result on Mobile:

Hi @AndreaHuang

This is Richard from PageFly - Shopify Page Builder App

Please add this code to your theme.liquid above the to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the


Hope this can help you solve the issue

Best regards,

Richard | PageFly

Thank you so so much!!

Thank you!!

Thank you !! :slightly_smiling_face:

Glad that i can help. Let me know if you have any questions