Shopify themes, liquid, logos, and UX
How to I change the Add to Cart button colors to be #123524 background color, #FFFFFF text color, #123524 boarder color for my Product Pages on Trade Theme?
Solved! Go to the solution
This is an accepted solution.
Please add this code to Custom CSS in Online Store > Themes > Customize > Theme settings
.product .product-form__submit {
background-color: #123524;
color: #FFFFFF;
border: 1px solid #123524;
}
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Amazon Products Importer - Import Amazon Products to Dropship in Your Store!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
TRy this one.
.product-form__submit {
background: #123524;
color: #fff;
}
.product-form__submit:after {
box-shadow: 0 0 0 calc(var(--buttons-border-width) + var(--border-offset)) rgba(18, 53, 36, 1),
0 0 0 var(--buttons-border-width) rgba(18, 53, 36, 0.5);
}
.product-form__submit:before {
box-shadow: var(--shadow-horizontal-offset) var(--shadow-vertical-offset) var(--shadow-blur-radius) rgba(18, 53, 36, 0.7);
}
.product-form__submit:not([disabled]):hover::after {
--border-offset: 1.3px;
box-shadow: 0 0 0 calc(var(--buttons-border-width) + var(--border-offset)) rgba(18, 53, 36, 1),
0 0 0 calc(var(--buttons-border-width) + 1px) rgba(18, 53, 36, 0.5);
}
.product-form__submit:focus-visible {
outline: 0;
box-shadow: 0 0 0 0.3rem rgba(18, 53, 36, 1),
0 0 0 0.5rem rgba(18, 53, 36, 0.5),
0 0 0.5rem 0.4rem rgba(18, 53, 36, 0.3);
}
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
Yeps, sorry I forgot to add the style tag.
<style>
.product-form__submit {
background: #123524;
color: #fff;
}
.product-form__submit:after {
box-shadow: 0 0 0 calc(var(--buttons-border-width) + var(--border-offset)) rgba(18, 53, 36, 1),
0 0 0 var(--buttons-border-width) rgba(18, 53, 36, 0.5);
}
.product-form__submit:before {
box-shadow: var(--shadow-horizontal-offset) var(--shadow-vertical-offset) var(--shadow-blur-radius) rgba(18, 53, 36, 0.7);
}
.product-form__submit:not([disabled]):hover::after {
--border-offset: 1.3px;
box-shadow: 0 0 0 calc(var(--buttons-border-width) + var(--border-offset)) rgba(18, 53, 36, 1),
0 0 0 calc(var(--buttons-border-width) + 1px) rgba(18, 53, 36, 0.5);
}
.product-form__submit:focus-visible {
outline: 0;
box-shadow: 0 0 0 0.3rem rgba(18, 53, 36, 1),
0 0 0 0.5rem rgba(18, 53, 36, 0.5),
0 0 0.5rem 0.4rem rgba(18, 53, 36, 0.3);
}
</style>
And Save.
Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!
I hope you are well. You can follow our instructions below:
1/ Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
2/ From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/iDxwa8zBQ4Z-
3/ Copy the code below and paste it there
Here is the code for Step 3:
.product-form__buttons button.product-form__submit {
background: #123524 !important;
color: #fff !important;
border: solid 1px #123524 !important;
}
.product-form__buttons button.product-form__submit::after {
display: none !important;
}
Please let me know if it works. Thank you!
Best,
Daisy - Avada Support Team.
This is an accepted solution.
Please add this code to Custom CSS in Online Store > Themes > Customize > Theme settings
.product .product-form__submit {
background-color: #123524;
color: #FFFFFF;
border: 1px solid #123524;
}
- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Amazon Products Importer - Import Amazon Products to Dropship in Your Store!
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- En...Sign up now.
Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025Discover opportunities to improve SEO with new guidance available from Shopify’s growth...
By Jacqui May 1, 2025