Change compare price color

Solved
Eze_Paul
Excursionist
19 0 5

https://furnishmaxi.se/collections/bastsaljare/products/matgrupp-berit-stone-4st-matstolar-beige-mat... 

 

Hi,

I wish to change the colour of compare price to “Black” and also to make the price bold. I use Expanse theme.

 

thanks!

Accepted Solutions (2)
ZestardTech
Shopify Expert
5300 950 1260

This is an accepted solution.

Hello There,

 

1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the Bottom of the file:

 

 

.product__price--compare  {
color: #000;
font-weight: bold;
}

 

 

ZestardTech_0-1700214030043.png

 

 

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing

View solution in original post

Abdosamer
Shopify Partner
303 46 51

This is an accepted solution.

@Eze_Paul , go to product-grid-item.css and add the following code :

.grid-product__price--original {
    color: #010101 !important;
}
Email : abdelrahamansamer71@gmail.com
Buy me a Coffee
Chat on WhatsApp

View solution in original post

Replies 6 (6)
Abdosamer
Shopify Partner
303 46 51

Hi @Eze_Paul , go to product.css and add the following code :

 

.product__price--compare {
    display: inline-block;
    padding-right: 5px;
    -webkit-text-decoration: line-through;
    text-decoration: line-through;
    color: #010101 !important;
    font-weight:600;
}

 

Email : abdelrahamansamer71@gmail.com
Buy me a Coffee
Chat on WhatsApp
ZestardTech
Shopify Expert
5300 950 1260

This is an accepted solution.

Hello There,

 

1. In your Shopify Admin go to online store > themes > actions > edit code
2. Find Asset > base.css and paste this at the Bottom of the file:

 

 

.product__price--compare  {
color: #000;
font-weight: bold;
}

 

 

ZestardTech_0-1700214030043.png

 

 

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing
Eze_Paul
Excursionist
19 0 5

how can i make it to show on collection page?

Screenshot 2023-11-17 at 18.07.20.png

Abdosamer
Shopify Partner
303 46 51

This is an accepted solution.

@Eze_Paul , go to product-grid-item.css and add the following code :

.grid-product__price--original {
    color: #010101 !important;
}
Email : abdelrahamansamer71@gmail.com
Buy me a Coffee
Chat on WhatsApp
Eze_Paul
Excursionist
19 0 5

Thank you!

Made4uo-Ribe
Shopify Partner
4007 916 1121

Hi @Eze_Paul 

Check this one. 

  • From your Shopify admin dashboard, click on "Online Store" and then "Themes".
  • Find the theme that you want to edit and click on "Actions" and then "Edit code".
  • In the "Assets" folder, click on "base.css, style.css or theme.css" file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

 

span.product__price.on-sale {
    color: black !important;
    font-weight: bolder;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_0-1700213790763.png

     

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

Please don't forget to 

Like

 and 

Mark Solution 

to the post that helped you. Thanks!
Sip, savor, and support – your

Coffee Tip

 helps us keep coding magic.❤️❤️❤️
Need a knowledgeable developer? Come and visit us at

Made4uo.com