I want to change the sales badge for one particular product on my home page. I want it to say “PRE-ORDER” instead of “SALE”. I want it just for that one product.
I want the text colour to remain white and the background colour of that badge to be #00008B (dark blue)
Our website URL is: heartzstudios.com
@taliad998 Please add the below line of CSS at the end of your app.css file
body .card-badge.text-end.text-start-s{
background-color:#00008B;
}
Hi that changes the colour but I can’t it to say “PRE-ORDER” instead of “SALE”.
@taliad998 For that you have to edit your default theme language. just write pre order where sale is written.
Follow these steps:
-
From your Shopify admin, go to Online Store > Themes.
-
Click the … beside the theme that you want to edit.
-
Select Edit default theme content from the dropdown menu.
-
Click the tab or category that includes the text that you want to change, or use the Filter items search bar to locate phrases or words you want to change.
-
Click the … on the right to reveal hidden tabs or categories:
I want to change it just for that one particular item, not all the items.
@taliad998 Then you have to add some code for the same. It looks like custom development
Do you have an idea on how to do it?
@taliad998 Yeah definitely, have an idea
Can you give me the code please?