Cannot hide the GD Home Page search option (CPT selector) menu

This topic contains 13 replies, has 2 voices, and was last updated by  Stephen Bromham 7 years, 3 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #407017

    Stephen Bromham
    Buyer
    Post count: 23

    On a GD Home Page – how do you hide the drop-down menu in the search options that currently shows all Custom Post Types setup in GeoDirectory? It automatically shows above the main map (top-left position) and it also always shows in the search bar (on left-side) – simply something we don’t require. We do want search functionality – but to always default search in the gd_place CPTs that are currently visible.

    Note: we use other CPTs (beyond gd_place) to generate small, non-interactive but highly visual maps that our admin staff can update pins on – so searching those CPTs as well as gd_places is pointless and confusing to end-users.

    Thanks for your help.

    #407080

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #407182

    Stephen Bromham
    Buyer
    Post count: 23
    This reply has been marked as private.
    #407321

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #407337

    Stephen Bromham
    Buyer
    Post count: 23
    This reply has been marked as private.
    #407349

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #407368

    Stephen Bromham
    Buyer
    Post count: 23
    This reply has been marked as private.
    #407385

    Kor
    Moderator
    Post count: 16516

    Hi Stephen,

    Please insert the custom CSS code below into GD > Design > Scripts > Custom Style CSS to hide it.

    
    
    .gd-search-input-wrapper.gd-search-field-cpt,
    select.geodir-cat-list-tax {
        display:none!important;
    }
    #407606

    Stephen Bromham
    Buyer
    Post count: 23
    This reply has been marked as private.
    #407645

    Kor
    Moderator
    Post count: 16516
    This reply has been marked as private.
    #407646

    Stephen Bromham
    Buyer
    Post count: 23
    This reply has been marked as private.
    #407705

    Stephen Bromham
    Buyer
    Post count: 23
    This reply has been marked as private.
    #407764

    Kor
    Moderator
    Post count: 16516

    Hi Steve,

    Could you please use this custom CSS code and see if it works?

    
    
    .map-places-listing {
        display:none!important;
    }
    
    .map-cat-ptypes .map_category {
        margin-bottom: 0px!important;
    }
    #408808

    Stephen Bromham
    Buyer
    Post count: 23

    Worked perfectly. Thanks.

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