Solved

Woocommerce list view

Posted on 2014-03-21
1
1,509 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 25

Accepted Solution

by:
lenamtl earned 500 total points
ID: 39951384
assets > js > jquery.gridlistview.min.js

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


I have not tested it but should work
0

Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
The purpose of this video is to demonstrate how to add AdSense Ads to a WordPress Website, and how to set up WordPress to automatically place Ads in Sidebars. This will be demonstrated using a Windows 8 PC. Log into your AdSense account. : Cli…
The purpose of this video is to demonstrate how to set up basic WordPress SEO. This will be demonstrated using a Windows 8 PC. The plugin used will be WordPress SEO by Yoast. Go to your WordPress login page. This will look like the following: myw…

773 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