Shopify themes, liquid, logos, and UX
I wanted to ask if any one knows how to change the text colour from black to white on the add to cart button on the product page of my shopify site. I am using the dawn theme. Thankyou in advance.
Solved! Go to the solution
This is an accepted solution.
Try this code, but add it to section-main-product.css file
.product__info-container .product-form .product-form__submit {
background-color: red !important;
color: white;
}
Try it and let me know
Hello There,
1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset >base.css and paste this at the bottom of the file:
.product-form__submit {
color: white;
}
hi I have added the code but it is not working as shown in image. Am I doing something wrong.
This is an accepted solution.
Try this code, but add it to section-main-product.css file
.product__info-container .product-form .product-form__submit {
background-color: red !important;
color: white;
}
Try it and let me know
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025