Solved

Woocommerce list view

Posted on 2014-03-21
1
1,411 Views
Last Modified: 2014-03-26
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
Comment
Question by:FCapo
1 Comment
 
LVL 24

Accepted Solution

by:
lenamtl earned 500 total points
Comment Utility
assets > js > jquery.gridlistview.min.js

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


I have not tested it but should work
0

Featured Post

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

In order to have all security and back ups taken care of, WordPress users can sign up for services with WP Engine.
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now