Have Archive pages show up in List View for All

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

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

Open Support Ticket
  • Author
    Posts
  • #531200

    vij
    Expired Member
    Post count: 65

    I want Archive pages to show up in List View for mobile, tablets and desktop. How can I do this?

    #531212

    Alex Rollin
    Moderator
    Post count: 27815

    That would require your own custom CSS.

    You will need to override the responsive breakpoints and layout CSS included with GD.

    You can see the CSS you need to override on any archive page.

    Here are some of the selectors to help you get started, at the bottom of this page:

    https://wpgeodirectory.com/docs-v2/design/layouts/

    #531345

    vij
    Expired Member
    Post count: 65

    Can this be done via css alone? I cant seem to get a grasp. Could you help.
    Here’s the page https://www.rehabcommunity.org/places/tarzana-treatment-center/

    #531362

    Kor
    Moderator
    Post count: 16516

    Hi Vij,

    Thanks for your post. If you want to display list view on Archive Page, edit the template here https://wpgeodirectory.com/docs-v2/templates/archive/ and change the gd_loop shortcode to the below.

    [gd_loop layout="0"]
    #531397

    vij
    Expired Member
    Post count: 65
    This reply has been marked as private.
    #531421

    Kor
    Moderator
    Post count: 16516

    Hi Vij,

    Thanks for your reply. I get what you mean now. Kindly insert the custom CSS code below to achieve what you needed there.

    @media only screen and (max-width: 800px) {
    body ul.geodir-category-list-view>li {
        width: 100% !important;
    }
    }
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