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
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025