Solved

How to remove white space from product page?

Mitesh3
Explorer
107 0 19

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

URL plugmydrip.com

IMG-20240601-WA0007.jpg

Accepted Solutions (2)
PageFly-Amelia
Shopify Partner
452 144 206

This is an accepted solution.

You can use this code instead

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

 

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.


Optimize your store’s mobile shopping experience with the Blum theme.

View solution in original post

devcoders
Shopify Partner
190 31 48

This is an accepted solution.

Hi @Mitesh3 

 

- 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;
}

 

devcoders_0-1717249774195.png

 

Shopify Developer: Helping eCommerce Stores
If you need assistance with your store, feel free to contact us at devcodersp@gmail.com.
If my assistance was helpful, please consider liking and accepting the solution. Thank you!

View solution in original post

Replies 9 (9)

techlyser_web
Shopify Partner
1618 299 322

Hello @Mitesh3 

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 </body> on theme.liquid
<style>
@media screen and (max-width: 767px) {
  .product-form__buy-buttons {
      margin-top: -1rem;
  }
  .product-form {
      row-gap: 0 !important;
  }
}
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Techlyser || Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

devcoders
Shopify Partner
190 31 48

Hi @Mitesh3 

- 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;
}
}

 

devcoders_0-1717240018670.png

 

Shopify Developer: Helping eCommerce Stores
If you need assistance with your store, feel free to contact us at devcodersp@gmail.com.
If my assistance was helpful, please consider liking and accepting the solution. Thank you!
Mitesh3
Explorer
107 0 19

Not Working On Dekstop 

devcoders
Shopify Partner
190 31 48

This is an accepted solution.

Hi @Mitesh3 

 

- 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;
}

 

devcoders_0-1717249774195.png

 

Shopify Developer: Helping eCommerce Stores
If you need assistance with your store, feel free to contact us at devcodersp@gmail.com.
If my assistance was helpful, please consider liking and accepting the solution. Thank you!
devcoders
Shopify Partner
190 31 48

Hi @Mitesh3 

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.

Shopify Developer: Helping eCommerce Stores
If you need assistance with your store, feel free to contact us at devcodersp@gmail.com.
If my assistance was helpful, please consider liking and accepting the solution. Thank you!
techlyser_web
Shopify Partner
1618 299 322

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 </body> on theme.liquid
<style>
  .product-form__buy-buttons {
     margin-top: -3rem;
  }
</style>
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

Techlyser || Shopify Partner || Helping eCommerce Stores
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution.
- For further discussion contact: Email ID- info@techlyser.com

PageFly-Amelia
Shopify Partner
452 144 206

Hello @Mitesh3 

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

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.


Optimize your store’s mobile shopping experience with the Blum theme.

Mitesh3
Explorer
107 0 19

Not Working On Dekstop ..

PageFly-Amelia
Shopify Partner
452 144 206

This is an accepted solution.

You can use this code instead

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

 

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.


Optimize your store’s mobile shopping experience with the Blum theme.