Shopify themes, liquid, logos, and UX
Hi,
How I can change the color and the border radius of this button?
It's in the checkout page.
Address: ellsoll.com
Hey @Ell_Soll ,
To change the color and border-radius of the button on the checkout page, you can add custom CSS in your theme's stylesheet or through the theme customizer.
Follow These Steps:
1. Online Store
2. Themes
3. Edit Code
4. In the Layout section, find and open theme.liquid
5. Add the CSS code inside a <style> tag before the closing </head> tag, like this:
<head>
...
<style>
.cart-drawer .cart__checkout-button {
background-color: red !important;
--border-offset: 0 !important;
--border-opacity: unset !important;
color: #fff !important;
border-radius: 12px !important; /* Adjust to your desired radius */
}
</style>
</head>
result:
If I was able to help you, please don't forget to Like and mark it as the Solution!
If you’re looking for expert help with customization or coding, I’d be delighted to support you. Please don’t hesitate to reach out via the email in my signature below—I’m here to help bring your vision to life!
Best Regard,
Rajat
Thanks but I was talking about the checkout page not the cart drawer.
Ah, I see! For customizing the checkout page, Shopify restricts direct access to the checkout's HTML and CSS for stores using the basic plan. However, you can customize the checkout page if you're on the Shopify Plus plan.
To modify the checkout button's style on a Shopify Plus store, you can add custom CSS within the checkout.liquid file (available only on Shopify Plus). Here's how:
1. Online Store
2. Themes
3. Edit Code
4. Add your CSS within the <style> tag inside the checkout.liquid file, like this:
5.
<style>
.checkout-button {
background-color: red;
border-radius: 12px; /* Adjust to your desired radius */
color: #fff !important;
}
</style>
If you're not on Shopify Plus, the checkout page cannot be customized directly using Liquid, but you can customize the cart page and checkout settings via Shopify's admin settings (for example, changing button styles via the theme settings or using apps).
Are you a shopify plus user? It is impossible for a regular shopify user to modify the checkout page. A regular shopify user will not be able to do it. If you are plus you can use some apps available in the App store, or if you are good enough at coding you can refer to the shopify checkout api, definetly will need some coding skills
I understand.
Thanks anyway.
Hi @Ell_Soll
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.
.cart-drawer .cart__checkout-button {
border-radius: 12px !important;
color: #ffff !important;
background: gray !important;
}
Result:
If my reply is helpful, kindly click like and mark it as an accepted solution.
Thanks!
Hello @Ell_Soll ,
Here are the steps to apply the necessary changes in your Shopify store:
.cart__ctas .cart__checkout-button {
border-radius: 10px !important;
background-color: skyblue !important;
}
Let me know if you need further assistance!
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025