Listing page – hide map

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

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

Open Support Ticket
  • Author
    Posts
  • #341704

    chris west
    Full Member
    Post count: 59

    hello,

    I tried to hide the map on the event-listing page.

    I tried that code, but it only works on all listing pages. places, events, and other cpt s.

    .post-type-archive-gd_event .sd.search.geodir-page, .geodir-listings-sidebar-right {
    display:none !important;
    }

    .post-type-archive-gd_event sd.search.geodir-page, #geodir_content {
    flex-basis: 100% !important;
    width: 100% !important;
    }

    does anybody has an idea?

    thanks

    chris

    #341705

    chris west
    Full Member
    Post count: 59
    This reply has been marked as private.
    #341926

    Kor
    Moderator
    Post count: 16516

    Hi Chris,

    I’ve just applied the custom CSS code below into your Website and could check and see if it’s what you’re looking for? You can locate the custom CSS in GD > Design > Scripts > Custom Style CSS

    
    
    .post-type-archive-gd_event aside#gd-sidebar-wrapper {
        display:none!important;
    }
    
    .post-type-archive-gd_event.sd.archive.geodir-page #geodir_content {
        flex-basis: 100%!important;  
    }

    Thanks!

    #342247

    chris west
    Full Member
    Post count: 59

    Thank you Kor,

    it works after choosing CPT and click on category, but not on choosing cpt and click search.

    is it possible to get on all listing page listview as default and gridview at the event listing page?

    thanks

    #342266

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    I’m sorry but you can only define one layout for all CPT archives.

    Thanks

    #342479

    chris west
    Full Member
    Post count: 59

    ok,

    thank you.

    what about:
    it works after choosing CPT and click on category, but not on choosing cpt and click search.

    any solution?

    thanks

    #343642

    Paolo
    Site Admin
    Post count: 31211

    Hi,

    search results use a different template:

    geodir-search.php

    Thanks

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