Formatting search box and fields

Forums › Forums › Search & Filter Pro › Formatting search box and fields

Tagged: ,

Viewing 10 posts – 11 through 20 (of 22 total)
  • Anonymous
    #250962
    This reply has been marked as private.
    Trevor
    #250970
    This reply has been marked as private.
    Anonymous
    #250976
    This reply has been marked as private.
    Trevor
    #251001

    1. Having two forms on the one page, whether the same form or different forms, can potentially cause issues, especially if they output/control results on that same page.

    2. That is normal behavior for search boxes for Chrome. Most confusing. This CSS will generally fix that (not just for our forms):

    input:focus::-webkit-input-placeholder {
        color: transparent;
    }

    3. This is why there should not be two forms on the same page.

    Please note that we are now near to closing for the day as it is late afternoon here in the UK, so my next reply may not be until tomorrow.

    Anonymous
    #251009
    This reply has been marked as private.
    Anonymous
    #251039
    This reply has been marked as private.
    Anonymous
    #251085
    This reply has been marked as private.
    Trevor
    #251185

    You have 3 posts.

    #251009 In V3, I think what you want (to have the two forms, may become possible. V3 is due in a few months).

    #251039 It will need to be coded in PHP. This page should help:

    https://searchandfilter.com/documentation/accessing-search-data/#get-the-search-term

    #251085 This is fairly normal UX practice. It is because the majority of ‘second’ searches are typo corrections.

    Anonymous
    #251189
    This reply has been marked as private.
    Trevor
    #251195

    What does that plugin normally expect? Can you give me an example? The search term is not stored as a PHP string variable, and it is not available using the WordPress normal process, e.g. get_query_var( 's' ), which is what I suspect it might want. Maybe using _sf_s would work?

Viewing 10 posts – 11 through 20 (of 22 total)
Search & Filter Support
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.

We also use cookies to store items in your cart as well as allowing your to login on the site.

You can adjust all of your cookie settings by navigating the tabs on the left hand side.

By continuing to use this site, you also agree to our Privacy Policy.