Change product price and button colour

Change product price and button colour

golazocases
Pathfinder
96 0 28

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

Replies 8 (8)

Moeed
Shopify Partner
7344 1991 2429

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:

 

Moeed_0-1725385513175.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


Tech_Coding
Shopify Partner
514 132 131

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>

Tech_Coding_1-1725386115008.png

 

Tech_Coding_0-1725385878309.png

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

Made4uo-Ribe
Shopify Partner
10096 2398 3030

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:

Made4uoRibe_0-1725386229429.png

 

 

 

Please don't forget to Like and Mark Solution to the post that helped you. Thanks!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
golazocases
Pathfinder
96 0 28

Thanks, this has worked really well but can you also make the outline of the boxes #18D3CC as well? Currently its black:

 

Screenshot 2024-09-03 at 21.21.44.png

Made4uo-Ribe
Shopify Partner
10096 2398 3030

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!

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
golazocases
Pathfinder
96 0 28

Hey, its worked for the add to cart button but the checkout button outline is still black ...

Made4uo-Ribe
Shopify Partner
10096 2398 3030

I check your store now, This is on my end. 

Made4uoRibe_0-1725540036820.png

Are you testing on other device? 

If this fixed your issue, Likes and Accept as Solution are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.

AbhishekMore
Visitor
1 0 0

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;
}