Is there a way I can change the add to cart button colour so it is more visible to customers?
The colour only changes when you hover over it
Welcome to the Shopify community!
Thanks for your good question.
Please share your store URL.
So that I will check and let you know the exact solution here.
Hi @MadiXavier ,
Please share your store URL and if your store is password protected then please provide password too.
So that we can help you.
Thank you.
- Go to Online Store-> Theme->Edit code
- Asset->/theme.css ->paste below code at the bottom of the file.
/* change color as you like */
.product-form__submit-button-wrapper .product-form__cart-submit {
background: #000000 !important;
color: #ffffff !important;
}
.product-form__submit-button-wrapper .product-form__cart-submit:hover {
background: #ffffff !important;
color: #000000 !important;
}
can you try this code
Hi @MadiXavier ,
You can follow the instruction below:
- Go to Online Store->Theme->Edit code
- Asset->/index.css->paste below code at the bottom of the file:
.product-form__submit-button-wrapper .product-form__cart-submit {
background: var(--color-text) !important;
}
If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.
thank you for this code. This has changed the colour however the text add to cart only appears when you hover over the button. Is there any way to keep the text there all the time?
Hi @MadiXavier ,
You can follow the instruction below:
- Go to Online Store->Theme->Edit code
- Asset->/index.css->paste below code at the bottom of the file:
.product-form__submit-button-wrapper .product-form__cart-submit {
background: var(--color-text) !important;
color: #fff !important;
}
If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.