New Shopify Certification now available: Liquid Storefronts for Theme Developers

Change "Added to Cart" Button Text Color

24 0 5

Hey everyone, I would like to change the color of the text of the button that says "check out" when you add an item to a cart. I have a screenshot below so that it makes more sense on what I am specifically talking about. I would simply like to change the text color from white to black. Thanks in advance!


Screenshot: Screenshot (7).png


Also, I am noticing an overlap problem with this popup with the header. If someone could suggest a fix for that as well, I would greatly appreciate it.



Replies 6 (6)
Shopify Partner
43 1 2


Kindly share your store url.



Shopify Partner
4235 979 1193

Hi @Spaceboy14 

Try this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:


button#checkout {
    background-color: black!important;
    color: #fff !important;


  • And Save. 

i hope it help. 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

Please don't forget to 



Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

24 0 5

This one didn't work for me unfortunately

Shopify Partner
436 167 168

Hi @Spaceboy14 ,

This is Anthony from Beae Landing Page Builder, and I’m happy to assist you today.


While I acknowledge that this issue falls short of the desired outcome, I have an idea that I believe might be of help:

1. Go to Online Store -> Theme -> Edit code
2. Open your theme.liquid file
3. Paste below code before </body>:

form#cart-notification-form button.button.button--primary.button--full-width {
    color: #000000


Best regards,


Beae - The NextGen Page Builder

- Was my answer helpful? Please hit Like or Mark it as solution!
- Get in touch with us: App Store | Blog
24 0 5

Thanks so much! That worked perfectly.

1 0 0

Spent ages looking for exactly this. Cheers Anthony!