Hello,
I want to change my add to cart button color with this color code #FFA200
My website URL : https://halal-pasar.myshopify.com/
and I am using Crave themes
Thankyou
A user wants to change their add to cart button color to #FFA200 on a Crave theme Shopify store.
Multiple solutions provided:
</body> tag in theme.liquid file.product-form__submit.button.button--full-width.button--secondarybackground-color: #FFA200 !important;Follow-up request:
The user successfully changed the background color but now wants to modify the button’s font color as well, noting the current text color doesn’t look good with the orange background.
Additional solution:
color: #fff !important; to make text whiteAll responses include code snippets showing the exact CSS selectors and properties needed for implementation.
Hello,
I want to change my add to cart button color with this color code #FFA200
My website URL : https://halal-pasar.myshopify.com/
and I am using Crave themes
Thankyou
Hi @Setia ,
Glad to support you today.
To can change the background ATC button, you can check out my suggestion below to make it:
I hope you find the answer helpful.
Kind & Best regards,
GemPages Support Team.
@Setia ,
button.product-form__submit.button.button--full-width.button--secondary {
background: #FFA200;
}
Add this css at the bottom of Online Store->Theme->Edit code->Assets->base.scss.liquid
Hello @Setia
I would like to give you a solution to support you:
<style>
.product-form__submit.button.button--full-width.button--secondary {
background-color: #FFA200 !important;
}
</style>
Was my reply helpful? Please Like and Accept Solution. This mean alot to me.
Hi @Setia
This is Victor from PageFly - Shopify Page Builder App, I’d like to suggest this idea:
Online Store ->Theme ->Edit code
Assets ->Base.css
.button--full-width {
background-color: #FFA200 !important;
}
Hope you find my answer helpful!
Best regards,
Victor | PageFly
@Setia
Put below code in theme.liquid file before closing tag
Thankyou for your help.
btw, I want to change the font color ( add to cart font color ) too.
with this background color, the add to cart font color isn’t too good.
Hi @Setia
This is Victor from PageFly - Shopify Page Builder App, I’d like to suggest this idea:
Online Store ->Theme ->Edit code
Assets ->Base.css
.button--full-width {
color: #fff !important;
}
You can change the color code #fff to the color you want.
Hope you find my answer helpful!
Best regards,
Victor | PageFly