Hide advanced search on home page but not search page

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

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

Open Support Ticket
  • Author
    Posts
  • #448988

    Andrew
    Expired Member
    Post count: 197

    Hi,

    I’d like to hide certain advanced search fields on the home page, however display them on the search page. Is there a simple way to do so in css? (I’m happy to provide credentials for you to log in to my site).

    I’ve attached 2 images – 1 of the home page where I want to show the green, and hide the red; and 1 of the search page where I want to show the green (i.e., all fields).

    Cheers,
    Andrew

    #448991

    Guust
    Moderator
    Post count: 29970

    Yes, please send us URL and WP admin details in a private reply. Thanks

    #448994

    Andrew
    Expired Member
    Post count: 197
    This reply has been marked as private.
    #448996

    Guust
    Moderator
    Post count: 29970

    Please add this CSS:

    
    
    .home .gd-field-fieldset-2, .home .gd-field-fieldset-3, .home .gd-field-fieldset-4, .home .gd-field-fieldset-5, .home .gd-field-fieldset-6 {display:none !important}
    .sd.home .featured-area .geodir-filter-container {width: 96%;}

    For more CSS tweaks see https://wpgeodirectory.com/docs/customizing-your-style/

    Thanks

    #448998

    Andrew
    Expired Member
    Post count: 197

    Awesome – thanks!

    #448999

    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