This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Search instance not showing on mobile

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Search instance not showing on mobile

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #26908
    labproy03labproy03
    Participant

    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.jpg

    Any 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.

    #26920
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    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.
    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.

    #26944
    labproy03labproy03
    Participant

    You cannot access this content.

    #26960
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Perfect, 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 id=1 part of it, to the ID of the desired search bar.

    #26962
    labproy03labproy03
    Participant

    Thanks a lot Ernest, this works now.

    Have a great day. Cheers!

    #26963
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.