Changing Sale price color in Emerge Theme

vicky94
New Member
3 0 0

Hi - my website is https://uvebeauty.com/ and I'm trying to change the color of the sale price to red.

Is there any way I can do it?

Thanks in advance!

0 Likes
dmwwebartisan
Shopify Partner
5808 1330 1703

@vicky94 

Please add the following code at the bottom of your assets/theme.css file.

span.product-price {
  color: red;
}

Hope this works.
Thanks!

If helpful then please Like and Accept Solution.
Email: dmw.webartisan@gmail.com | Instagram: @dmw.webartisan
Advanced Shopify Page Builder to customize your pages - check here PageFly App
0 Likes
vicky94
New Member
3 0 0

I tried it out but it's not working. Is there any other way? Thanks!

0 Likes
Jason
Shopify Expert
10272 144 1943

Is this for the collection pages or the product page?
In any case give this a try for collections. It won't work on older browsers but should cover a lot.

/* change the colour of the price if there is a compare price before it */
.product--compare-price+.product--price {
    color: #ca5bd4;
}

 

I jump on these forums to help and share some insights. Not looking to be hired, and not looking for work.

Don't hand out staff invites or give admin password to forum members unless absolutely needed. In most cases the help you need can be handled without that.


★ http://freakdesign.com.au ★
0 Likes
vicky94
New Member
3 0 0

@Jason  I want the price color to be changed on every page. I have tried your code and it's not working on collections page or product page.

0 Likes