Shopify themes, liquid, logos, and UX
Hello, I want to change the product price colour across my store to: 18D3CC
I would also like to change the add to cart and checkout buttons to '18D3CC' as well (with white text).
It is important that no other text, colours, or buttons elsewhere on the store are effected. I only want the changes for these.
Store URL: golazocases.co.uk
Theme: Trade
Hey @golazocases
Follow these Steps:
1) Go to Online Store
2) Edit Code
3) Find theme.liquid file
4) Add the following code in the bottom of the file above </body> tag
<style>
.price {
color: #18D3CC !important;
}
.product-form__submit {
background: #18D3CC !important;
}
.product-form__submit:after {
box-shadow: unset !important;
}
</style>
RESULT:
If I managed to help you then, don't forget to Like it and Mark it as Solution!
Best Regards,
Moeed
Hello @golazocases
You can add code by following these steps
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.liquid file
3. Paste the below code before </body> on theme.liquid
<style>
.product .price-item span.buckscc-money {
color: #18D3CC !important;
}
.product-form__buttons button.product-form__submit {
background: #18D3CC !important;
}
button.product-form__submit::before, button.product-form__submit::after, .cart-notification__links button.button::before, button.button::before, .product-form__buttons .button:not([disabled]):hover:after {
box-shadow: unset !important;
}
.cart-notification__links button.button {
background: #18D3CC !important;
}
</style>
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Hi @golazocases
Check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
.js-contents .totals__total-value, .price {
color: #18D3CC !important;
}
.product-form__buttons .button, .button:before, .cart__ctas button {
background: #18D3CC !important;
--border-offset: 0;
}
.button--secondary:after {
--border-opacity: 0;
}
Amd Save.
result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Thanks, this has worked really well but can you also make the outline of the boxes #18D3CC as well? Currently its black:
Please, replace on this code.
.js-contents .totals__total-value, .price {
color: #18D3CC !important;
}
.product-form__buttons .button, .button:before, .cart__ctas button {
background: #18D3CC !important;
--border-offset: 0 !important;
}
.button--secondary:after {
--border-opacity: 0 !important;
}
And save.
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Hey, its worked for the add to cart button but the checkout button outline is still black ...
I check your store now, This is on my end.
Are you testing on other device?
1) Go to Online Store
2) Edit Code
3) Find base.css file
4) Add the following code in the end of all code
.buckscc-money, .price {
color: #18D3CC !important;
}
.product-form__submit {
background: #18D3CC !important;
}
.product-form__submit:after {
box-shadow: unset !important;
}
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024