Change "In stock" text

Topic summary

A user seeks to change the color of the \

Summarized with AI on November 8. AI used: claude-sonnet-4-5-20250929.

Hi everyone,

How can i change the color of the “In stock” text. If anyone can help it would be highly appreciated!

Kind regards

1 Like

in Dawn theme you need to go to online store, edit code of your theme, search main-product.liquid

Here is the text:

{% if variant.available %}InStock{% else %}OutOfStock{% endif %}"

Hi @lunalucenteskin

From the admin > Online store > choose theme > Click the 3dots > find this button Edit default theme content >

After that look for products

And change whatever you like to change

And Save. The changes.

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Hi,

What i meant was change the color of the texts, so instead of that green we want it in the same green as the color of our product!

please share the url of the page

www.lunalucente.com

Oh, my bad. i check the link you provide the image in stock you like to change is not visible.

Do you mean this one.

Made4uoRibe_1-1720562196030.png

If it is check this one.

  1. From you Admin page, go to Online Store > Themes
  2. Select the theme you want to edit
  3. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  4. Then place the code below at the very bottom of the file.
.foxkit-stock-countdown__message {
    color: seagreen;
}

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!