How can I change the color of 'Added to Cart' button text?

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:

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.

Tarek

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!

This one didn’t work for me unfortunately

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 :

Best regards,

Anthony

Thanks so much! That worked perfectly.

Spent ages looking for exactly this. Cheers Anthony!

In base.css, add the following code at the end

.cart-count-bubble {
background-color: #0000 !important;
color: red #0000 !important;
}

Thank You, it works