Change "Add to Cart" button color when "Buy Now" button is active

I want to activate shopify buy now button but when I do it changes the “Add to cart” button color to white.

I use theme “Craft”.

the ultimate goal is for the Add to cart button to be #00A1B1

and the buy now button to be black color.

Hey @rakaiby ,
Welcome to the Shopify community!
You can follow the instruction below:
please add this to your CSS file.

button[name="add"] {
  background: #00A1B1 !important;
   color: #fff !important;
}
.shopify-payment-button__button {
   background-color: #000 !important;
}

If you feel like my answer is helpful, please Like and mark it as a solution. Let me know if you have any further questions.
Thank you!
Raman
Return Prime

1 Like

Hi @ReturnPrime ,

It worked fine .. thanks tons.

regards,

rakaiby

@ReturnPrime

The border is still the same previous colors for both buttons.

how do you suggest I add to the code for it to be the same as the new color?

Appreciate your help.