How can I change the color of the Add to Cart button in Taste Theme?

Hello everyone, I would like to change the color of the “add cart” button within the taste theme. I know that the code needs to be changed, but I don’t know where and what I should add.

Thanks in advance for the help

hi @Luca_Scaramuzzi

Use this code to change button text color and background. Add this code at the bottom of Theme > Edit code > assets > base.css

product-form button.product-form__submit.button.button--full-width.button--secondary {
    background: red;
    color: white;
}

Try it and let me know

It’s work, can i ask you where you find the subject to insert in the code? “product-form button.product-form__submit.button.button–full-width.button–secondary”

Thank you

hi @Luca_Scaramuzzi

I use Chrome inspector to find it on product details page

Thank you @ExpertRookie

@Luca_Scaramuzzi you are welcome. Let me know if you need my support