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,
If you like my products, don't forget to rate them on codecanyon :)