Rounded Add to Cart Button Product Page

Rounded Add to Cart Button Product Page

ellacoker
Shopify Partner
258 0 59

Hello,

Does anyone know how to make my add to cart button rounded? Maybe by 20px?

I would also like to extend it a little.

URL: https://www.samiyaskincare.com.au/products/throat-chakra-face-oil

Screenshot 2025-03-19 at 11.50.47.png

Replies 7 (7)

DaisyVo
Shopify Partner
4375 485 577

Hi @ellacoker 

You can try to follow this step
Step 1: Go to Edit code
Step 2: Find file base.css and add this code at the end of the file

 

.product-form__buttons button::after,
.product-form__buttons button::before,
.product-form__buttons button {
    border-radius: 20px !important;
}

 

Result 

DaisyVo_0-1742350337650.png

 

Best,

Daisy

 

 

Please let us know if our reply is helpful by giving it a Like or marking it as a Solution!

Avada SEO & Image Optimizer - The #1 SEO solution

B2Bridge
Explorer
362 75 91

Hi @ellacoker  , you can follow these steps:

Step 1: Open Online Store -> Themes -> Edit code.

Step 2: Find component-card.css file

Step 3: Paste this code at the bottom of the file

.product-form__buttons > button.button,
.product-form__buttons > button.button::before,
.product-form__buttons > button.button::after {
  border-radius: 20px !important;
}

Screenshot_1.png

If this is helpful, please let us know by giving us a like and marking it as a solution. Thank you 😍

B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.

ellacoker
Shopify Partner
258 0 59

Thank you,

do you know how to

1. also extend the button on desktop? the mobile width is fine. please see image

2. centre the pop up text "click to reveal secret ingredient" on mobile

Screenshot 2025-03-19 at 12.23.15.pngScreenshot 2025-03-19 at 12.23.08.png

B2Bridge
Explorer
362 75 91

Hi @ellacoker ,
Paste this code at the bottom of the file:

.product-form__buttons {
   max-width: unset !important;
}
@media screen and (max-width: 749px) {
    .product-popup-modal__opener.quick-add-hidden {
        width: 100% !important;
        text-align: center !important;
    }
}

Screenshot_2.png

If this is helpful, please let us know by giving us a like and marking it as a solution. Thank you 😍

B2Bridge: All-in-one B2B wholesale solution, enabling merchants to set up a complete B2B store quickly and without coding.
With features like customizable registration forms, customer segmentation, and tailored price lists, it simplifies wholesale management.
B2Bridge also includes a dedicated Quick Order page and flexible Net Payment Terms, streamlining operations for wholesalers and enhancing the buying experience.

ellacoker
Shopify Partner
258 0 59

Hello,

Thank you so much. My pop up is now centred. Can I add something to also make my product description, price and heading all centred too on mobile only?

Bundler-Manuel
Astronaut
938 47 107

Hello Ella @ellacoker  I think you should give this code a try and let me know how the button appears in your store afterwards. 
}
button.btn.btn--full.add-to-cart {
border-radius: 78px !important;
}

Emmanuel
Please let me know if it works by marking it as a solution!
Bundler - Product Bundles app, a great bundle app for Shopify, with glowing user testimonials and a free plan.

PageFly-Richard
Shopify Partner
5011 1120 1801

 

Hi @ellacoker 

 

This is Richard from PageFly - Shopify Page Builder App

 

Please add this code to your theme.liquid above the </head> to get this solved

Step 1: Online Stores > Themes > More Actions > Edit code

Step 2: click on theme.liquid and paste the code above the </head>

<style>
.product-form__buttons>button.button {
    border-radius: 20px !important;
    width: 100% !important;
    max-width:100% !important;
}
modal-opener.product-popup-modal__opener.quick-add-hidden {

    margin: 1.5rem auto;
    width: 100%;
    display: flex
;
    justify-content: center;

}
</style>

PageFlyRichard_0-1742367799424.png

 

Hope this can help you solve the issue 

 

Best regards,

Richard | PageFly 

 

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


➜ Optimize your Shopify store with PageFly Page Builder (Free plan available) 


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