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:37 am
#16601
You are welcome.
Please note that the search area in this case is not controlled by the plugin, so I cannot make a solution to simply close it. The search area is defined by the theme, as well as the button to open it. Unfortunately it would be the themes responsibility to have this feature.
The code is not corretly placed on the page, you have put it into the custom CSS section, that is not correct. You have to use it in the functions.php file in the theme directory, otherwise it won’t work. Do you need help with that?
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)