Hello,
I want all buttons in one color, except the add to cart button.
(Theme: Debutify)
So, what I want to do is changing the add-to-cart button color by code. Unfortunately, I don’t know the code..
I’m glad for any help ![]()
Hello,
I want all buttons in one color, except the add to cart button.
(Theme: Debutify)
So, what I want to do is changing the add-to-cart button color by code. Unfortunately, I don’t know the code..
I’m glad for any help ![]()
Hi @timouser
This is an easy fix, would you mind sharing your store’s URL and the theme you’re using?
Hi @timouser
Add the following code to the theme.scss.css:
button#AddToCart--product-template {
/*Cart Background Color*/
background: blueviolet;
/*Remove Yellow Border*/
border: none;
/*Text Color*/
color: white;
}
Let me know if that works!
That worked, thank you so much!
Do you maybe have a solution for changing the hover color + hover border too? ![]()
(Also for the sticky add-to-cart?)
Use the following code and adjust as needed:
button#AddToCart--product-template:hover {
/*Cart Background Color*/
background: blueviolet;
/*Remove Yellow Border*/
border: none;
/*Text Color*/
color: white;
}
Hello @JHKCreate
Thanks for the help.
Do you also know how to change the color of the Sticky Add to Cart? I also use Debutify and the code above worked for the Add to Cart but not for the Sticky Add to Cart.
Thanks in advance and best regards.