Reply To: Integration and compatibility issue

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Integration and compatibility issue Reply To: Integration and compatibility issue


Ernest Marcinko

Hi Filippo,

You can turn off the “close on magnifier click” option, as it won't help in this case.

From the theme code I can see that the closing of that search bar was attached to the event when the user clicked outside of the original search box. It no longer works, since the original search is not there anymore.
I might have found a solution to that as well.

1. Open up the same file as before, and scroll to line 277:

jQuery('.headersearch .search-box input[type=text]').blur(function(e){

2. Try replacing that line with:


I'm not sure how it will react, but it should trigger the closing event if the user clicks outside the search bar.

Ernest Marcinko

If you like my products, don't forget to rate them on codecanyon :)