Remove the “Near” Search Function

This topic contains 9 replies, has 2 voices, and was last updated by  Alex Rollin 5 years, 11 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #435190

    Joshua
    Expired Member
    Post count: 43

    I would like to remove the near field function from displaying.

    I searched the forum and found reference to the following articles:

    https://wpgeodirectory.com/support/topic/remove-the-near-search-function/

    https://wpgeodirectory.com/support/topic/search-review-questions/

    I followed the instructions by “Guust” but the near field is still showing.

    Using the Geo Bold Child Theme.

    #435199

    Alex Rollin
    Moderator
    Post count: 27815

    CSS should be added at GeoDirectory – Design – Scripts – CUstom CSS

    Here’s one that hides near on the demo for GeoBold:

    
    
    
    body .geodir-listing-search.gd-search-bar-style .geodir-loc-bar .clearfix.geodir-loc-bar-in .geodir-search .gd-search-input-wrapper.gd-search-field-near .gd-append-near-wrapper input {
        padding-right: 40px;
        display: none !important;
    }
    

    https://wpgeo.directory/geobold/

    If that doesn’t work, please send the URL of the page in a private reply so we can take a look. We need a URL for CSS in most cases.

    Thanks

    #435203

    Joshua
    Expired Member
    Post count: 43
    This reply has been marked as private.
    #435207

    Alex Rollin
    Moderator
    Post count: 27815

    Yes, with login we can check the settings.

    FOr CSS, it is also highly recommended to disable all cache on the site while you are working on CSS changes so they can be seen to take effect.

    WordPress Credentials
    WP Admin Login URL:
    WP Admin Username:
    WP Admin Password:

    #435213

    Joshua
    Expired Member
    Post count: 43
    This reply has been marked as private.
    #435216

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #435218

    Joshua
    Expired Member
    Post count: 43
    This reply has been marked as private.
    #435221

    Alex Rollin
    Moderator
    Post count: 27815

    A simpler one is working now:

    
    
    
    
    .gd-search-input-wrapper.gd-search-field-near {
        display: none !important;
    }
    
    
    #435223

    Joshua
    Expired Member
    Post count: 43
    This reply has been marked as private.
    #435224

    Alex Rollin
    Moderator
    Post count: 27815

    Sure thing, glad I could help 🙂

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

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

Open Support Ticket