Decrease Mailing List Padding - Urgent

I am looking to decrease the email sign up block padding (top and bottom) currently displayed on the following page. In saying this, I don’t want it to affect the footer edm content block.

https://duoarthouse.com.au/pages/weekly-wallpaper

Thank you in advance.

1 Like

Hi @duart2023

  1. Go to Online Store → Theme → Edit code.
  2. Open your theme.liquid file
  3. In theme.liquid, paste the below code before

If my reply is helpful, kindly click like and mark it as an accepted solution.

If you are happy with my help, you can help me buy a COFFEE

Thanks!

Hi @websensepro unfortunately this didn’t work. I’m looking to decrease the padding in the screenshot below specifically


.

Hi @duart2023

Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. 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:
@media only screen and (min-width: 750px) {
div#section-id-template--23790834712858__newsletter_tm7P3P .container {
    padding: 0;
}

div#section-id-template--23790834712858__custom_liquid_kmRyY8 {
    margin-top: 40px;
}
}
@media only screen and (max-width: 749px) {
div#section-id-template--23790834712858__newsletter_tm7P3P .container {
    padding: 0 40px;
}

div#section-id-template--23790834712858__custom_liquid_kmRyY8 {
    margin-top: 20px;
}
}

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

@duart2023 Try this then:


If my reply is helpful, kindly click like and mark it as an accepted solution.

If you are happy with my help, you can help me buy a COFFEE

Thanks!

1 Like

@Made4uo-Ribe The only relevant ccs file I have is ‘style.css.liquid’ and unfortunately this still didn’t work I’m sorry