Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Custom close button in results overlay › Reply To: Custom close button in results overlay
March 7, 2022 at 9:48 am
#37067
Keymaster
Hi,
Well, that is custom coding, so I don’t know the innter workings of it – but I guess you need to change the search wrap to display “block”, when the search is finished?
So I guess something like:
$(".asp_main_container").on("asp_search_end", function() {
$('#search-results-wrap').css('display','block');
});