Search bar

This topic contains 3 replies, has 2 voices, and was last updated by  Kor 8 years, 6 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #366914

    Joran Brasseur
    Free User
    Post count: 1

    Hi,

    I would like to center the near search bar. I’ve already use a script to hide one of the search fields and that works just fine. I’ve tried a bunch of scripts I’ve found on the forum but none of them seems to work. Is it possible it doesn’t work because I’m using a Dutch translation?

    This is the script I’ve used already to hide the first field:
    input.search_text {
    display:none !important;
    }

    Does the near field also work when you type in a zipcode? Because I’ve been testing it and sometimes it doesn’t work.

    This is the site I’m working on: http://www.trotspots.be/

    Thank you!

    #366918

    Kor
    Moderator
    Post count: 16516

    Hi Joran,

    Could you try this custom CSS below instead and see if it works? Insert into GD > Design > Scripts > Custom Style CSS. Here’s more information regarding the “Near” search field and I hope it helps. https://wpgeodirectory.com/docs/gd-search/#near

    
    
    .sd-homepage .gd-search-input-wrapper.gd-search-field-search {
        display: none!important;
    }
    #366919

    Joran Brasseur
    Free User
    Post count: 1

    Wauw!

    Thanks for the fast reply man! It indeed did the job.

    Thank you!!!

    #366925

    Kor
    Moderator
    Post count: 16516

    Hi Joran,

    Glad that worked for you. Let us know if you need anything else.

    Thanks!

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