I am trying to change the text in the span (which can be seen in the picture attached). I have tried the following, but for some reason it does not change the span text:
jQuery(document).ready(function($){
$(‘a.x-portfolio-filters span’).html(“Sort Case Studies”);
});