I’ve been working with my friend on her Shopify website (the eme Narrative). She wanted the “sold out” text on the collection pages to show in red. After searching on this community, I found a solution and added the code below to the theme.scss.liquid.
.card__wrapper .card__availability {
color: #d93c30;
font-weight: bold;
}
It worked and showed exactly how we wanted for a while (about 2 months) and we realized last week, that the sold-out texts are shown in black (as in the default setting). We have not made any changes nor edited anything so we have no idea how this happened and how to fix it.
Anyone experiencing the same or similar? Can someone please help us fix it back to red?
I tested your code on my Narrative theme, and it’s still working.
There might be some update in your theme that made the code no longer work correctly.
You can try adding “important” to your code because there might be another CSS line that has overwritten your code.
Thank you so much for your reply. I did try with the “!important”, still not working. Deleted the whole code I added, saved, then re-added the code, still not working… I’ll ask my partner what she wants to do now. Thank you again and sorry my reply to you took so long.