ATC Button: Removing Bottom Margin

ATC Button: Removing Bottom Margin

alyhz
Excursionist
31 0 6

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
7366 1994 2433

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

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


alyhz
Excursionist
31 0 6

not working for mobile unfortunately

BSS-TekLabs
Shopify Partner
2401 695 832

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


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


BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
alyhz
Excursionist
31 0 6

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

 

Made4uo-Ribe
Shopify Partner
10132 2403 3037

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.