Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1909
  • Last Modified:

Woocommerce list view

Hi,

I have a wordpress site with woocommerce installed,

The problem I'm having is on the shop page the products are by default shown as a GRID (side by side), there's a button to switch from the default GRID mode to LIST mode; but for every new client that comes on the site, they would have to manually change it!

I'd like to permanently change the default view from GRID to LIST for every person that comes on the site, but I can't find any way to do this in the code.

Does anyone have any knowledge on how to do this?
0
FCapo
Asked:
FCapo
1 Solution
 
lenamtlCommented:
assets > js > jquery.gridlistview.min.js

jQuery('ul.products').addClass('list');


I have not tested it but should work
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now