Hide Grid View Options

This topic contains 4 replies, has 2 voices, and was last updated by  bernieportal 4 years ago.

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

Open Support Ticket
  • Author
    Posts
  • #541386

    bernieportal
    Expired Member
    Post count: 108

    Hi, is there a way to disable or hide the grid view options?

    I have this shortcode added on my archive page: [gd_loop_actions], but I want to keep the sorting ability. Is there maybe a shortcode for just the sorting ability that doesn’t include the grid view options?

    Screenshot attached.

    #541396

    Kor
    Moderator
    Post count: 16516

    Hi Sarah,

    Thanks for your message. We can remove it using custom CSS code, do you think you can share the URL of the page here in question? Or you can try using the custom CSS code below and see if it helps.

    .select2-container.gd-select2-container {
        display: none;
    }
    #541409

    bernieportal
    Expired Member
    Post count: 108

    Hi,

    I added the CSS to my site and it ended up removing the “Sort By” option too so I removed it. I only want to remove the “grid view” option. Is that possible?

    https://www.bernieportal.com/payroll/

    #541418

    Kor
    Moderator
    Post count: 16516

    Hi Sarah,

    Thanks for your reply. You can use the custom CSS code below to achieve what you needed there.

    .archive .geodir-loop-actions-container .geodir-list-view-select .select2-selection {
      display:none!important;
    }
    #541433

    bernieportal
    Expired Member
    Post count: 108

    That worked great. Thank you!

Viewing 5 posts - 1 through 5 (of 5 total)

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

Open Support Ticket