This topic has 6 replies, 2 voices, and was last updated 6 years, 6 months ago ago by Rose Tyler
Hi,
Is it possible to change text color in single product page for “Available in back order” to red and “In Stock” to Green?
Tks in advance
José
Hello,
Yes, it is. Please provide me URL of a single product page. I will give you appropriate custom css code.
Regards
Hello,
.single-product-page .product-info .product_meta .stock.available-on-backorder {
color: red;
}
.single-product-page .product-info .product_meta .stock.in-stock {
color: #46a446;
}
Regards
Tks very much! It worked perfectly.
Would be possible to change the standard labels for those messages as well?
For instance, I would like to have the following messages:
“In Stock – Dispatch Next Day”, instead of “In Stock”
“In Stock – Dispatch Next Day”, instead of “In Stock (can be back ordered)”
“Back order – Dispatch in 7 days”, instead of “Available in backorder”
Thanks in advance
José
Hello,
You’re welcome!
You can use translation files and use translation filed just to change strings. Loco translate plugin will help you to do this in no time https://www.8theme.com/documentation/xstore/theme-translation/base-theme-translation/ (the same for legenda theme).
Regards
You must be logged in to reply to this topic.Log in/Sign up