Hi,
I would like to change the text colour on the add to cart button to hex DDBB8B
The text colour changes to this on hover but i would like it to display this colour as standard.
site not live - password to view - JOLENE456
Issue: Users want to change the “Add to Cart” button text color in Shopify’s Prestige theme to a specific hex color (originally #DDBB8B).
Solution Provided:
.ProductForm__AddToCart {
color: #DDBB8B;
}
Additional Customizations:
background-color: #yourcolor;!important flag:.ProductForm__AddToCart::before {
background: #35E9C3 !important;
}
Common Issues:
!important declarationsStatus: Resolved for most users, though some edge cases require additional troubleshooting with !important flags or alternative CSS selectors.
Hi,
I would like to change the text colour on the add to cart button to hex DDBB8B
The text colour changes to this on hover but i would like it to display this colour as standard.
site not live - password to view - JOLENE456
sorry for this issue can you please try this
.ProductForm__AddToCart {color: #DDBB8B;}
Please add the following code at the bottom of your assets/theme.css file.
.ProductForm__AddToCart {
color: #DDBB8B;
}
Thanks!
thanks so much, if I want to change the background colour (the button itself) to a different hex colour what line do I use?
hello @lkdrumhirk if I want to change the background colour (the button itself) to a different hex colour you can use following code and then you change value of background-color yourself
Please add the following code at the bottom of your assets/theme.css file.
.ProductForm__AddToCart {
background-color: #6f5a3f;
}
yes you can do it just change the Hexa code
Hi,
I am also using Prestige and this is not working for me.
It changes the color of the add to cart button for the first page when displaying a product one the front page - but there is no change on the product page itself.
What do I do?
hello @theithei
Please provide website url and if your store is password protected then also provide password So I will check and provide a solution here.
Hi, my website is: https://www.pulseofart.de/ (no password).
On the first page I display “1x Kartenständer aus Holz” and the “Add to Cart” Button (In German: Zum Warenkorb hinzufügen) is grey.
If you visit any product page (for example: https://www.pulseofart.de/collections/grusskarten/products/grusskarte-papa) the “add to cart” button is grey.
I want both of these colors changed to the same green color (#539E3C).
Thank you in advance for your help!
hello @theithei
please Go to Online Store->Theme->Edit code then go to assets/theme.css ->paste below code at the bottom of the file.
.ProductForm__AddToCart::before {
background: #539E3C !important ;
}
It worked, thank you SO much!
Thank you for your response. It’s good to know that it’s worked for you. Kindly feel free to get back to me if you need any further assistance
what’s the code for add to cart button?
hello @yaseene
do you want to add add to cart button in which section let me know
Hi, this code doesn’t seem to work. No matter what I do, it appears the theme’s default button settings override the add-to-cart button settings in my .css. Here’s what I have added to our theme.scss.liquid file at the end:
Our theme’s primary button colour: #be8b70
Intended add-to-cart button colour: #7b895b
Code I’ve added:
.ProductForm__AddToCart {
background: #7b895b !important;
background-color: #7b895b !important;
border-color: #7b895b !important;
}
The page is: bangalorewatchco.in/products/pitch
Hello,
I also would like to change in my Theme (Prestige) the colour of the cart button. Can you please help me with that? I tried the way you said it in the upper article, it worked well for the colour of the text. I need to change the colour of the button (without animation). Is there a way?
Thank you!
Elisabeth
I’m happy to help with that! To change the color of the cart button in the Prestige theme, here’s what you can do:
If you don’t see a specific option for the cart button color, you may need to add a bit of custom CSS. To do this:
Go to Actions > Edit Code next to your Prestige theme.
Open the Assets folder and click on theme.scss.liquid or theme.css (depending on your theme version).
Add this CSS at the bottom of the file:
css
Copy code .cart-button { background-color: #yourcolorcode; /* replace with your color */ }
This should change the button’s background color without affecting any animation. Let me know if this helps, or if you need further adjustments!
https://coveted.com Coveted.com tried to implement this but they’re thinking of an alternative solution