Adding a second listing with different layout

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

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

Open Support Ticket
  • Author
    Posts
  • #378119

    Jorge Dändliker
    Buyer
    Post count: 150

    Hi
    I try to add a second listing overview where I want to show all events (and all places on a third overview) with only few details. I try to make it with the [gd_event_listing] shortcode.

    Now is there any possibility (for example with css?) to disable details like the featured image and excerpt, to show the whole address on one row, to show the category on the same row as the address? The listing overview should be as thin as possible. Is it possible to change this layout only for the additional listing overview?

    I want to use the “list view” layout on all listing overviews and have no clue how to differentiate the layout of the two overviews.

    My default listing overview for events: https://petevents.ch/events
    My test page for the second overview: https://petevents.ch/test

    Have you any idea how I could arrange it?

    Many thanks for your help!

    Best regards
    Jorge

    #378168

    Guust
    Moderator
    Post count: 29970
    #378169

    Jorge Dändliker
    Buyer
    Post count: 150

    Hi Guust
    Many thanks for your advise. I understand what you mean but I guess that by changing CSS the layout of both listings (standard and the new one which should be much smaller/thinner) would change, am I right? I want to only change one of the two listings. Would this be possible? I guess they both use the same CSS.

    Thanks again
    Jorge

    #378174

    Guust
    Moderator
    Post count: 29970

    You can target just that page. Have a look at the CSS classes added to the body tag:

    <body class="page-template-default page page-id-850 bla bla bla">

    So to target the image for that page only, you would use:

    
    
    .page-id-850 .geodir_category_list_view li .geodir-post-img {
        display: none;
    }
    #378293

    Jorge Dändliker
    Buyer
    Post count: 150

    Hi Guust
    Great, many thanks for your support!
    Best regards
    Jorge

    #378316

    Guust
    Moderator
    Post count: 29970

    You’re welcome 🙂

    #378317

    Guust
    Moderator
    Post count: 29970

    You’re welcome 🙂

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