ATC Button: Removing Bottom Margin

ATC Button: Removing Bottom Margin

alyhz
Tourist
8 0 0

alyhz_0-1720712351547.png

how can I remove the margin bottom of the ATC button? I want no spacing between the payment icons and the ATC

Thanks!

 

Replies 5 (5)

Moeed
Shopify Partner
4370 1127 1383

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

Need a Shopify Specialist? Chat on WhatsApp


- Custom Design | Advanced Coding | Store Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️
alyhz
Tourist
8 0 0

not working for mobile unfortunately

BSS-TekLabs
Shopify Partner
635 177 207

- Here is the solution for you @alyhz 
- Please follow these steps:

step.png

- 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:

BSSTekLabs_0-1720714863196.png

 

 

- 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 .
For give Gift to customers and Upsell in Cart, check out Salepify: Free Gifts with purchase

Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
alyhz
Tourist
8 0 0

why isn't that working accordingly for mobile? just made the changes

 

Made4uo-Ribe
Shopify Partner
6978 1661 2051

Hi @alyhz 

Check this one. 

  1. From you Admin page, go to Online Store > Themes
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

product-form.product-form {
    margin-bottom: 0px !important;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1720715639051.png

     

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.