Search icon

This topic contains 4 replies, has 2 voices, and was last updated by  Michael O’Brien 1 year, 1 month ago.

  • Author
    Posts
  • #520822

    Michael O’Brien
    Full Member
    Post count: 12

    Hi:

    Please see the screenshot attached. I have a category called ‘hospitals’ and a custom field for region. Currently, I have to place my cursor inside of the ‘search for’ field and press enter in order to get any results.

    Ideally, we would like for the search results to come up as soon as any choice is selected, ie. if a category is selected, all results within that category would display. If category and region are both selected, then all results would automatically display. so no need of having to place cursor in the ‘search for’ field or click on an icon in order for the results to display.

    However, if this is not possible, then a search icon would be the next best thing. Is it possible to have the search icon only, in that case, and not the ‘search for’ field?

    Thank you very much,

    Lillian

    #520908

    Alex Rollin
    Moderator
    Post count: 27815

    Hello,

    apologies, my earlier reply did not go through.

    You can hide the Search for field with CSS:

    https://wpgeodirectory.com/docs-v2/faq/common-examples/#gd_search

    You can place a search bar anywhere, but search results will always be served on the search page.

    #520985

    Michael O’Brien
    Full Member
    Post count: 12

    Thank you, can you tell me how to add the little search icon? Currently we have it turned off, but I’m not sure how to turn it on :.) thank you.

    #521063

    Alex Rollin
    Moderator
    Post count: 27815

    Please share a link to the page and we will check.

    It is almost certainly custom CSS, you can check in your customizer for css with ctrl-f and search for ‘search’

    #521152

    Michael O’Brien
    Full Member
    Post count: 12

    I got it, thanks! btw, wondering how do I mark these as solved or closed?

Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘Search icon’ is closed to new replies, this may be for inactivity, please open a new topic if you have a similar question.