so i need to change the color to the discount price to red, but i want the normal price to be black

MonkataWe
Visitor
3 0 2

I need to change only the discount price to red, but i want the normal price to stay black 

MonkataWe_0-1718035677355.png

 

Replies 2 (2)

deservefirst
Shopify Partner
13 4 8

Hi @MonkataWe,

You can try this code by following these steps: 

Step 1: Go to Online Store->Theme->Edit code.

Step 2: Search file base.css or any custom CSS file

Step 3: Paste the below code at bottom of the file -> Save

 

.card-information>.price.price--on-sale .price__sale .price-item--regular {
    --color-foreground: 255, 0, 0;
}





deservefirst_0-1718080076725.png

 



DeserveFirst | DeserveFirst.com

If my post is helpful, consider liking it -- it will help others with a similar problem to find a solution.

Stack: Shopify Plus | Shopify | NodeJs | ReactJs | NextJs | PHP | Magento | Laravel | WordPress | BigCommerce | Prestashop

Expertise: Shopify Plus | Headless CMS | PWA | App Development | Shopify Scripts | Shopify Functions & Extensions | Theme Development & Customization | New Feature Implementation

ZestardTech
Shopify Expert
5595 1016 1341

Hi @MonkataWe 

Please share your store URL and password.
So that I will check and let you know the exact solution here.

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