Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Ajax Pro Search layout change › Reply To: Ajax Pro Search layout change
May 11, 2021 at 9:41 am
#33170
Keymaster
Hi,
2. Sure, that is a great idea. I recommend something like this instead:
jQuery(function($){
$('.asp_option_label').each(function(){
if ( $(this).text().trim() == 'Strand E – Morality and Justice' ) {
$(this).addClass('new-filter');
}
});
});
Make sure this is added as a footer script so the page is rendered before it is executed.