Re: Change "In stock" text

Change "In stock" text

lunalucenteskin
Explorer
88 0 19

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
144 27 32

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
9839 2339 2930

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.
lunalucenteskin
Explorer
88 0 19

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
144 27 32

please share the url of the page

Need Shopify Development, Customization, or POS Support? PM Me!
lunalucenteskin
Explorer
88 0 19
Made4uo-Ribe
Shopify Partner
9839 2339 2930

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 are highly appreciated. Coffee tips fuel my dedication.
Get experienced Shopify developers at affordable rates—visit Made4Uo.com for a quick quote!
Need THEME UPDATES but have custom codes? No worries, for an affordable price.