Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Ajax Pro Search layout change › Reply To: Ajax Pro Search layout change
Thanks you for the quick reply.
Requirement 1: Works fine – even though customer wanted the text outside and below of the search bar, this is also acceptable. Thanks for that.
Requirement 2: I tried to write code as below but doesn’t seem to work. My intention is to add a class to the div with class name asp_option_label and value “Strand E – Morality and Justice”. So I can add a space and then title after that if cannot make in to two column.
Can you please help me to fix this?
var filter = document.getElementsByClassName(“asp_option_label”);
if (‘ Strand E – Morality and Justice’ == filter[0].innerHTML)
{
filter[0].setAttribute(“class”, “new-filter”);
}
Looking forward to hear from you!
Celin