Dawn theme remove space from top and bottom of product-form section

I’m trying to remove the spacing above and below the product form section on my product page, but no matter what I do it wont go away, any ideas?

Hi @VAmor ,

This is Anthony from Beae Landing Page Builder, and I’m happy to assist you today.

While I acknowledge that this issue falls short of the desired outcome, I have an idea that I believe might be of help:

  1. Go to Online Store → Theme → Edit code
  2. Open your theme.liquid file
  3. Paste below code before :

Best regards,

Anthony

Thanks for the quick reply Anthony, however no luck, it has made no change, I even tried it with padding: 0, and border:0, any other suggestions?

Could you please share your store URL, so that I can check it more. Thank you

Sure its getitgive.com and password is Draft2 (https://www.getitgive.com/products/5-pieces-box)

Thank you, you can try this code and paste it below tag in theme.liquid:


Best regards,

Anthony

That has done the trick, you’re a genius! Thank you very much

Hi @VAmor

Try this, if doesnt work would you mind to share your store URL website? with password. Thanks!

  • 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:
.product-form {
margin: 0px;
}
  • And Save.