Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Close automatically when the user clicks › Reply To: Close automatically when the user clicks
February 1, 2018 at 11:05 am
#16594
Hi,
You mean to close the search area when clicking on the page?
Well, that is not part of the search plugin, it is some sort of custom script, but I might be able to suggest something.
Add this custom code to the functions.php in your theme/child theme directory (copy from line 3 only!). Before editing, please make sure to have a full site back-up just in case!
Please note that this is not related to the plugin, so it may not work correctly in every case.
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)