Changing add to cart button and text color for product page

Hello,

After searching previous posts, I have tried about 20 different lines of code with no solution yet. I am trying to change the add to cart button color and text color on my product page only. I am currently using debut theme and the URL is www.goldenleopardboutique.com. Any help you can give would be greatly appreciated.

1 Like

Hi @GLBoutique

Paste the below code in your theme.css file, at the bottom. Obviously change the color to what you want.

.template-product .btn.product-form__cart-submit {
    background-color: red;
    color: white;
}
1 Like

@GLBoutique

Please try this code 1. Go to Online Store->Theme->Edit code 2. Asset->/theme.css–>paste below code at the bottom of the file.

.template-product .btn.product-form__cart-submit {
    background-color: red !important;
    color: #fff !important;
}

Thanks!

Hi @GLBoutique

Please add the below code in theme.css

Go to Online store → Theme → Action → Edit code → Asset → theme.css

.template-product .btn.product-form__cart-submit {
    background-color: #f29393 !important;
    color: #fff !important;
}

Hope it helps !

Thank you so much!