Remove Search For field on selected pages

This topic contains 2 replies, has 2 voices, and was last updated by  spectrum 4 years, 3 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #524121

    spectrum
    Lifetime Member
    Post count: 78

    The V2 documentation gives an example of how to remove the Search For field from the search bar as follows:

    .gd-search-input-wrapper.gd-search-field-search {
    display: none;
    }

    Is there a way to modify this so it only removes the Search For field from GD Search on specific pages, for example remove it when the GD Search Widget is displayed on the front page, but display the full bar on other pages or CPTs?

    #524134

    Alex Rollin
    Moderator
    Post count: 27815

    Add additional selectors to target specific pages. Examples are given here.

    https://wpgeodirectory.com/docs-v2/faq/common-examples/#selectors

    #524148

    spectrum
    Lifetime Member
    Post count: 78

    Perfect. Thanks Alex.

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

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

Open Support Ticket