Remove the “Near” Search Function

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

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

Open Support Ticket
  • Author
    Posts
  • #374815

    cpneighbours
    Expired Member
    Post count: 55

    1) Is there anyway to remove the “Near” field in the Search Function leaving only the “Search For” ?

    This question was raised here:
    https://wpgeodirectory.com/support/topic/search-review-questions/

    But the reply does not work:

    1) add this to GeoDirectory >> Design >> Scripts >> Custom CSS:
    }
    .geodir-search input.snear, .near-compass {
    display: none;
    }

    What is the way to remove the “Near” field in the search?

    #374833

    Guust
    Moderator
    Post count: 29970

    Try this CSS:

    
    
    .gd-append-near-wrapper {
    display: none;
    }

    You will have to adjust some other CSS too I think, see more instructions here: https://wpgeodirectory.com/docs/customizing-your-style/

    Thanks

    #374873

    cpneighbours
    Expired Member
    Post count: 55

    Guust, spot on, thank you. Many thanks.

    First impressions, this CSS code looks to work aok on our (current) DIVI theme.

    What knock on impact/ coding do you think we should look out for, so I can check if other coding needed?

    Francis

    #374945

    Guust
    Moderator
    Post count: 29970

    Nothing springs to mind directly.

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
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount