Hi,
How I can change the color and the border radius of this button?
It’s in the checkout page.
Address: ellsoll.com
A user seeks to modify the color and border radius of a checkout button on their Shopify store (ellsoll.com) using the Dawn 15.2 theme.
Initial Confusion:
.cart-drawer .cart__checkout-button or .cart__ctas .cart__checkout-button.Key Clarification:
checkout.liquid or apply custom CSS to the checkout page.Available Options:
checkout.liquid file.Resolution Status:
The original poster acknowledged the limitation and thanked respondents. The discussion remains unresolved for their specific checkout page requirement without a Shopify Plus upgrade.
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:
Online Store
Themes
Edit Code
In the Layout section, find and open theme.liquid
Add the CSS code inside a tag before the closing tag, like this:
...
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
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
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:
Online Store
Themes
Edit Code
Add your CSS within the tag inside the checkout.liquid file, like this:
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).
Hi @Ell_Soll
.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!
I understand.
Thanks anyway.
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!