Change "In stock" text

Change "In stock" text

lunalucenteskin
Excursionist
39 0 7

Hi everyone,

 

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

 

Kind regards

 

Image 08-07-2024 at 20.50.jpeg

Replies 6 (6)

Tal19
Shopify Partner
126 22 24

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 %}"

Need Shopify Development, Customization, or POS Support? PM Me!

Made4uo-Ribe
Shopify Partner
6978 1661 2051

Hi @lunalucenteskin 

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

Made4uoRibe_0-1720470252471.png

After that look for products 

And change whatever you like to change

Made4uoRibe_1-1720470312014.png

Made4uoRibe_2-1720470345090.png

And Save. The changes.

 

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

 

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.
lunalucenteskin
Excursionist
39 0 7

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!

 

Tal19
Shopify Partner
126 22 24

please share the url of the page

Need Shopify Development, Customization, or POS Support? PM Me!
lunalucenteskin
Excursionist
39 0 7
Made4uo-Ribe
Shopify Partner
6978 1661 2051

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

Made4uoRibe_0-1720562184734.png

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
  1. Select the theme you want to edit
  2. Under the Asset folder, open the main.css(base.css, style.css or theme.css)
  3. Then place the code below at the very bottom of the file.

 

.foxkit-stock-countdown__message {
    color: seagreen;
}

 

  • And Save. 
  • Result:
  • Made4uoRibe_2-1720562315722.png

     

  • Note: you can change the color you want. 

 

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

If this fixed your issue Likes and Accept as Solution is highly appreciated. Coffee tips fuels my dedication.
Get EXPERIENCED Shopify developers at affordable rates—visit Made4Uo.com for quick quote!
Do not lost your Shopify store! Get FREE trial with ✔️ Rewind Backup: Automatic, reliable, stress-free.
Need THEME UPDATES but has custom codes? No worries, contact us for affordable price.