How to change text color in "Add to cart" button back to white

Talalla
Visitor
1 0 0

So I must have changed something accidently: My "Add to Cart" Button is black and the text inside used to be white. But now the text is also black, therefore the text "Add to Cart" isn't visible anymore.
What must I do to change it back to white font color? Is it in the code? Appreciate your help 💫

Screen Shot 2023-10-15 at 13.39.37.png

Replies 2 (2)

Moeed
Shopify Partner
3697 932 1166

Hey @Talalla 

 

Could you please provide your Store URL and, if applicable, the Password too? Your cooperation is greatly appreciated!

 

Best Regards,
Moeed

Need a Shopify developer? Chat on WhatsApp


- For Shopify Design Changes | Shopify Custom Coding | Custom Modifications
- Your Coffee Tip and my code, A perfect blend. ❤️

PageFly-Oliver
Astronaut
840 177 158

Hi @Talalla ,

 

You can try this code by following these steps: 

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file theme.liquid

Step 3: Paste the below code at the bottom of the file -> Save

<style>
[class*=add]{
color:white !important
}
</style>



Hope my solution works perfectly for you!

Best regards,

Oliver | PageFly

Please let me know if it works by giving it a Like or marking it as a solution!


PageFly - #1 Page Builder for Shopify merchants.


All features are available from Free plan. Live Chat Support is available 24/7.