• Priority: 0
  • Status: Closed
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 19.01.23, 17:38
  • Opened by: Angelo Perna
  • Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #24185 - Listing View buttons

Hi, I would like to display in mobile version only “auto” and “2” buttons..
If is not possible, I wold like to know how I can not display Listing View buttons..
Let me know.
thanks
Angelo

Comments

Fred 19 Jan 2023, 19:24

Hi, Angelo.
You can use this CSS code to hide all buttons on mobile

@media(max-width:1024px) {
  #listing_view {display:none}
}

to hide specific buttons use the following:

@media(max-width:1024px) {
  #view_list,
  #view_grid3,
  #view_grid4,
  #view_grid5,
  #view_grid6 {display:none}
}

add CSS code to Theme Settings → Customer CSS

Angelo Perna 20 Jan 2023, 15:59

Thanks! work fine!

Fred 20 Jan 2023, 16:11

You are welcome!