How to remove white space from product page?

I want to remove this white space from my product page.

URL plugmydrip.com

1 Like

Hello @Emiway

You can add code by following these steps

  1. Go to Online Store → Theme → Edit code.

  2. Open your theme.liquid file

  3. Paste the below code before on theme.liquid

@media screen and (max-width: 767px) { .product-form__buy-buttons { margin-top: -1rem; } .product-form { row-gap: 0 !important; } }

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Hi @Emiway

  • Go to Online Store → Theme → Edit code.
  • Find the file assets/theme.css and paste the code below at the bottom of the file."
@media screen and (max-width: 749px){
.product-form__buy-buttons {
margin-top: -30px;
}
}

Hello @Emiway

This is Amelia at PageFly - Shopify Advanced Page Builder app.

You can try the following steps I have provided to help you solve the problem you are facing:

Step 1: Online Stores > Themes > Edit code

Step 2: Choose file base.css or theme.css

Step 3: Add code

@media screen and (max-width: 768px){
.product-form__buy-buttons {
   margin-top: -20px;
  }
}

Hoping my solution helps you solve your problem.

Best regards,

Amelia | PageFly

Not Working On Dekstop

1 Like

Not Working On Dekstop ..

You can use this code instead

.product-form__buy-buttons {
   margin-top: -20px;
  }

Hi @Emiway

  • Go to Online Store → Theme → Edit code.
  • Find the file assets/theme.css and paste the code below at the bottom of the file.
.product-form__buy-buttons {
margin-top: -30px;
}

You can add code by following these steps

  1. Go to Online Store → Theme → Edit code.

  2. Open your theme.liquid file

  3. Paste the below code before on theme.liquid

.product-form__buy-buttons { margin-top: -3rem; }

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Hi @Emiway

Great to hear that the issue has been resolved! If my assistance was helpful, please consider liking and accepting the solution. Feel free to reach out if you have any further questions.