I want to remove this white space from my product page.
URL plugmydrip.com
A user seeks help removing unwanted white space from their Shopify product page (plugmydrip.com).
Proposed Solutions:
Multiple community members provided CSS code snippets targeting .product-form__buy-buttons with negative top margins (ranging from -10px to -30px). The solutions involved:
theme.liquid before the </body> tagassets/theme.css or assets/base.cssIssue Resolution:
Initially, the user reported solutions werenβt working on desktop. After trying different code variations with adjusted margin values, the problem was eventually resolved. The discussion appears complete, with the final helper confirming the issue was fixed and requesting the user mark an accepted solution.
Hello @Emiway
You can add code by following these steps
Go to Online Store β Theme β Edit code.
Open your theme.liquid file
Paste the below code before on theme.liquid
Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.
Hi @Emiway
@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
Not Working On Dekstop ..
You can use this code instead
.product-form__buy-buttons {
margin-top: -20px;
}
Hi @Emiway
.product-form__buy-buttons {
margin-top: -30px;
}
You can add code by following these steps
Go to Online Store β Theme β Edit code.
Open your theme.liquid file
Paste the below code before on theme.liquid
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.