Search bar changes

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

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

Open Support Ticket
  • Author
    Posts
  • #398972

    Vijay Kapoor
    Free User
    Post count: 3

    My quuery is regarding the search bar (on all pages of website)
    I would like to remove the option of “what to search for” and only have the option for users to search by location.

    I found this code from another query to address this:

    .search_text {
    display: none !important;
    }

    This code works and removes the “what to search for” part of the search bar, however it leaves the location search bar on the right hand side. Please explain how I can centre the search bar once the “what to search for” has been removed.

    Furthermore the entire search bar section appears to have a light grey background, how can I change this so it is white.

    website url is: http://www.findcrossfit.com.au

    #398992

    Guust
    Moderator
    Post count: 29970
    #399131

    Vijay Kapoor
    Free User
    Post count: 3

    Thanks for that, I have now removed the section of the search bar I didnt want and the “near” search is centered.

    However, I wasnt able to find how to change the background color of the search bar area, as you can see it is currently light grey, I would like to change it to be white to match the background color of the rest of the page.

    Can you please help with this final query?

    http://www.findcrossfit.com.au

    #399146

    Guust
    Moderator
    Post count: 29970

    Try this CSS, adjust as required:

    
    
    .geodir-loc-bar-in {
        background: yellow;
    }

    This will assist if you need more CSS tweaks: https://wpgeodirectory.com/docs/customizing-your-style/

    Thanks

    #399155

    Vijay Kapoor
    Free User
    Post count: 3

    Perfect, thank you!

    #399157

    Guust
    Moderator
    Post count: 29970

    You’re welcome 🙂

Viewing 6 posts - 1 through 6 (of 6 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