Hello,
I have Minimal theme and I’d like to change the colour of my ‘Add to Cart’ button on all product pages, it’s currently white with black text.
I’d like the button to be #4B4B4B and the text white.
Thanks for your help
A user with the Minimal theme wants to change their ‘Add to Cart’ button from white with black text to a dark gray (#4B4B4B) background with white text.
Solution Process:
</body> tagbutton#AddToCart under a <style> tag in theme.liquidOutcome:
Hello,
I have Minimal theme and I’d like to change the colour of my ‘Add to Cart’ button on all product pages, it’s currently white with black text.
I’d like the button to be #4B4B4B and the text white.
Thanks for your help
hey @JC30 plz share URL of your website so i can help you
Hi @JC30 , please share me your store URL (with password if needed) ![]()
Hi @JC30 can you share store url?
Hey @JC30
Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.
Best Regards,
Moeed
Hey @JC30
Follow these Steps:
Go to Online Store
Edit Code
Find theme.liquid file
Add the following code in the bottom of the file above tag
RESULT:
If I managed to help you then, don’t forget to Like it and Mark it as Solution!
Best Regards,
Moeed
button#AddToCart {
background-color: white;
}
Go to online store ----> themes ----> go to three Dots ----> edit code ---->find theme.liquid files ----> place the code ---->
under the tag before the body ----->
if this code work please do not forget to like and mark it solution
Thank you - this worked
Thank you for your reply. I’m glad to hear that the solution worked well for you. If you require any more help, please don’t hesitate to reach out. If you find this information useful, a Like would be greatly appreciated.