Shopify themes, liquid, logos, and UX
I would like to make the "new price" in the color red. Is this possible?
Thank you!
Im using the Trade theme.
Picture:
Solved! Go to the solution
This is an accepted solution.
Hi @KimGottwald
check this one.
span.price-item.price-item--sale.price-item--last {
color: red;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
Could you please navigate to your theme's code and within the 'Sections' folder, locate the file named 'main-collection-product-grid.liquid' or a similarly named file. In that file, find the
<div class="card-information"></div>
element. Once you have located it, please provide an image of the code for that element so that we can assist you further.
Sadly I can't find that part of the code:
Click Ctrl + F and then search for "card__information"(double underscore)
Try searching for it in the file 'card-product.liquid' which is located in the snippets folder
Like this?
In your theme's code locate inside the Assets folder the file 'component-card.css'. At the bottom of the file paste this code
.price__sale .price-item .price-item--sale .price-item--last{
.color: red;
}
Hope this helps!
This is not working sadly, but thank you!
Corrected Version
.price-item--sale{
color: red;
}
This is an accepted solution.
Hi @KimGottwald
check this one.
span.price-item.price-item--sale.price-item--last {
color: red;
}
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
How do you manage customer reviews and make them work for your products? A Shopify ap...
By JasonH Jul 22, 2024In June, we were thrilled to share the latest updates released in Shopify Editions Su...
By JasonH Jul 15, 2024Welcome to our latest blog feature. We're excited to interview a talented team of femal...
By JasonH Jul 1, 2024