Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Don't display search form on mobile on page, but display on magnifier sign click › Reply To: Don't display search form on mobile on page, but display on magnifier sign click
August 11, 2017 at 12:30 pm
#14235
Hi!
Sure! I believe this is what you are looking for:
@media only screen and (max-width: 800px){
#ajaxsearchpro1_1 {
display: none !important;
}
}
This will hide the first instance, but not the one hidden by clicking on the icon.
Best,Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)