Thanks for your answer Kevin.
Jquery can find .product-dates and I forgot to mention that once the function creates the span tag that wraps around the targeted text, its just a matter of doing ".product-date span { visibility: hidden;} in CSS or jQuery to hide it.
BTW, added in a setInterval into my function, which I have now named hideText. From what I understand, setInterval loops the function in milliseconds intervals rather than a one-off reading of the code by the browser. Is that where you put it - in the function wrapper or seperate?
$(function (hideText) {
var search = "Started";
$(".product-dates").html(function (_i, orig) {
return orig.replace(new RegExp("(" + search+ ")", "g"), "<span>$1</span>");
setInterval(hideText, 1000);
});
});
However, still the same result. Works in the Chrome console with no error by does not work in Catalog (see below).

Feel like its just a few tweaks away.
Cheers
Greg
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.