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;
}
- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. 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;
}
- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024