Supreme Theme responsive points

This topic contains 13 replies, has 3 voices, and was last updated by  luca preda 6 years, 2 months ago.

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

Open Support Ticket
  • Author
    Posts
  • #467191

    luca preda
    Free User
    Post count: 97

    Hi, can you please help me with some css so on mobile, on the search page, so I keep only one listing per column?
    I see now that it displays 2 columns after 400px

    #467192

    luca preda
    Free User
    Post count: 97
    This reply has been marked as private.
    #467224

    Kor
    Moderator
    Post count: 16516

    Hi luca,

    Thanks for your post. Could you share your Website URL here in question so that I could try and see if this is possible using custom CSS code?

    Thanks!

    #467228

    luca preda
    Free User
    Post count: 97
    This reply has been marked as private.
    #467295

    Alex Rollin
    Moderator
    Post count: 27815

    We do not generally provide CSS to change breakpoints because these ship with the plugin.

    However, you can control the default view/layout, and it is not necessary to use CSS to achieve this with V2.

    There are 2 elements involved

    The layout selector is shown on the page with gd_loop_actions

    The listings are shown with gd_loop

    The layout is predetermined by the options applied to gd_loop

    If you apply the layout to gd_loop, then remove gd_loop_actions, the layout you choose will be set and the user will not be able to change it.

    To make the adjustments, open your search page template and adjust the elements
    https://wpgeodirectory.com/docs-v2/geodirectory/personalize/
    https://wpgeodirectory.com/docs-v2/geodirectory/page-design/

    Let us know how it goes

    #467297

    Alex Rollin
    Moderator
    Post count: 27815
    #467379

    luca preda
    Free User
    Post count: 97
    This reply has been marked as private.
    #467437

    Alex Rollin
    Moderator
    Post count: 27815

    RIght, layout=0 will get you the list layout. Is that what you want?

    #467440

    luca preda
    Free User
    Post count: 97
    This reply has been marked as private.
    #467456

    Alex Rollin
    Moderator
    Post count: 27815

    I disabled your custom CSS and it seems to be single on Mobile. You should debug that CSS to find the issue.

    #467457

    Alex Rollin
    Moderator
    Post count: 27815

    Right now your custom css is in a snippet, but, it is probably better if you keep it in appearance -> customizer

    #467540

    luca preda
    Free User
    Post count: 97
    This reply has been marked as private.
    #467568

    Kor
    Moderator
    Post count: 16516

    Hi Luca,

    Thanks for your reply. Try using the custom CSS code below and see if it’s what you’re looking for?

    
    
    @media only screen and (max-width: 600px) {
      body.home .geodir_location_listing ul.geodir-category-list-view>li {
        width:100%!important;
    }
    body.sd ul.geodir-category-list-view>li {
        width:100%!important;
    }
    }
    
    #467579

    luca preda
    Free User
    Post count: 97

    YES Kor,
    this is EXACTLY what I was looking for. THANK YOU!

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