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
This topic contains 4 replies, has 2 voices, and was last updated by Ernest Marcinko 6 years, 7 months ago.
- AuthorPosts
- August 10, 2017 at 9:23 pm #14217
Hi,
my goal is not to display the search form on mobiles, because it goes out of the right part of the screen.
Then, theme tagline can be displayed horizontally and overall view improved. (1)
Though, when the user clicks the magnifier sign (search sign), the search form should be displayed. (2)
Is it possible to achieve it using plugin settings?Tried custom css
@media only screen and (max-width: 800px){
.fusion-secondary-menu-search {
display: none !important;
}
}Thus, (1) is achieved, but (2) is not, the search is not displayed at all on magnifier click.
Hope you can help.
Thanks in advance.August 10, 2017 at 9:27 pm #14218You cannot access this content.August 11, 2017 at 12:30 pm #14235Hi!
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 :)
August 11, 2017 at 8:36 pm #14247Thanks a lot, it worked.
August 11, 2017 at 8:37 pm #14248You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.