Reorder Advanced search fields

This topic contains 3 replies, has 2 voices, and was last updated by  Guust 5 years ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #484432

    Tim Sanford
    Full Member
    Post count: 157

    Hi, is there a recommended way to reorder the fields in the advanced search bar?

    Specifically, I would like the category select dropdown to be located after the location field and also “more options” to come before search.

    If you also have a recommendation on how to split this into 2 lines w/ restricting the max width, that would be welcome also. When trying to set display:block on the fields, it seems unresponsive.

    #484441

    Guust
    Moderator
    Post count: 29970

    Please review https://wpgeodirectory.com/docs-v2/addons/advanced-search/#select

    Depending on the amount of fields added, it should automatically go to two lines but you can try this CSS:

    
    
    body .geodir-listing-search.gd-search-bar-style .geodir-loc-bar .clearfix.geodir-loc-bar-in .geodir-search .gd-search-input-wrapper {
        min-width: 200px !important;}

    Thanks

    #484495

    Tim Sanford
    Full Member
    Post count: 157

    Awesome, Thank you!

    Do you have a recommendation on having the “more options” button appear before the search button?

    #484509

    Guust
    Moderator
    Post count: 29970

    Something like this might work, but it will need customization for your own site:

    .geodir_submit_search {right: 50px}
    .geodir-show-filters {left: -72px !important}
Viewing 4 posts - 1 through 4 (of 4 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket