This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Reply To: Space needed inbtween words "out of stock" & "in stock"

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Space needed inbtween words "out of stock" & "in stock" Reply To: Space needed inbtween words "out of stock" & "in stock"

#40595
Ernest MarcinkoErnest Marcinko
Keymaster

Okay, then you could probably do a trick with custom CSS and a different HTML in the advanced field. Try this in the advanced content field:

<span class="{_stock_status}"></span>

This will apply a class name instead of the actual text. Now add this custom CSS somewhere (either in your theme settings or under here):

span.instock::after {
   content: 'In Stock';
   color: green;
}

span.outofstock::after {
   content: 'Out of Stock';
   color: #ff6600;
}