Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Search instance not showing on mobile
This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko 3 years, 1 month ago.
- AuthorPosts
- April 26, 2020 at 9:20 pm #26908
Hi, I have a search instance configured to replace the default theme search and it works great on desktop, but on mobile the default theme search isn’t replaced. Take a look at this screenshots:
Working fine on desktop: https://snipboard.io/4B9OQX.jpg
Not working on mobile: https://snipboard.io/9o2sHC.jpgAny idea on how to solve this? Any help will be very appreciated.
My website isn’t live yet, it’s under a coming soon page. To login you should go to https://thenobo.com/backend
Thanks in advance.
April 27, 2020 at 12:35 pm #26920Hi,
Looks like the mobile search is not printed via the get_search_form hook, so the plugin cannot override it. I tried to look through the theme files to perhaps find where it is printed, but I could not.
Best,
Can you please ask the theme author in which file is the mobile search form printed?
The only way to override that is via the child theme & custom coding, but I can help you with that, if I know where to look.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 28, 2020 at 5:33 am #26944You cannot access this content.April 28, 2020 at 2:40 pm #26960Perfect, that helped.
I created the suggested file for you, you can find it in:home\dh_dzvjxp\thenobo.com\wp-content\themes\elessi-theme-child\includes\nasa-mobile-product-searchform.php
Yes, you can create a different search bar, and use that shortcode there. The plugin shortcode is placed on line 34 in that file, you only need to change the
Best,id=1
part of it, to the ID of the desired search bar.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
April 28, 2020 at 2:53 pm #26962Thanks a lot Ernest, this works now.
Have a great day. Cheers!
April 28, 2020 at 2:55 pm #26963You 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.