I would like to change the color of the original price (crossed-out) on both the featured collection on the homepage AND on each individual product page. I have figured out how to change the sale price to green but I want to make the original price red.
In order to change the sale price text to green, I am using this code in the Custom CSS on customizer > featured collection:
h2 {
color: #00ffff;
}
div {
color: #0bda51;
}
And for the product page, I’m using this code in Themes > Edit Code > Assets > component-price.css:
span.price-item.price-item–sale.price-item–last {
color: #0bda51
}
Please help!!
1 Like
Hi @jonnysoup
Would you mind to share your Store URL website? with password if its protected. Thanks!
password: peifre
Sorry about that. Thank you
1 Like
Hi @jonnysoup
This is Richard from PageFly - Shopify Page Builder App, I’d like to suggest this idea:
Online Store ->Theme ->Edit code
Assets ->Base.css
.price-item.price-item--regular {
color: red !important;
}
Hope you find my answer helpful!
Best regards,
Richard | PageFly
Hi @jonnysoup
Try 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:
.price__container s.price-item.price-item--regular {
color: #0bda51;
}
1 Like