All things Shopify and commerce
how can I remove the margin bottom of the ATC button? I want no spacing between the payment icons and the ATC
Thanks!
Hey @alyhz
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.product-form__submit {
margin-bottom: 0 !important;
}
product-form.product-form {
margin-bottom: 0 !important;
}
</style>
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
not working for mobile unfortunately
- Here is the solution for you @alyhz
- Please follow these steps:
- Then find the base.css file.
- Then add the following code at the end of the file and press 'Save' to save it.
.product-form__submit, .product__info-container .product-form {
margin-bottom: 0px !important;
}
.list-payment {
margin-top: -1rem !important;
}
- Here is the result you will achieve:
- Please press 'Like' and mark it as 'Solution' if you find it helpful. Thank you.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution.
Salepify: Efficiently increase sales conversion with sale-driven features like auto add to cart, free gifts (free plan available)
Salemate: Boost your AVO with 2-layer offer, countdown upsell in your post purchase page
why isn't that working accordingly for mobile? just made the changes
Hi @alyhz
Check this one.
product-form.product-form {
margin-bottom: 0px !important;
}
Discover how to increase customer engagement on your store with articles from Shopify A...
By Jacqui Apr 23, 2025Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025