VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Gingerweb on June 05, 2018, 08:19:17 AM

Title: Change default Category view from List to Grid?`
Post by: Gingerweb on June 05, 2018, 08:19:17 AM
Im sure this must be a simple button somewhere and googling hasnt shown me - How can i change the default category view to Grid from List ?
I have the buttons showing i just want it to always show in Grid
many thanks
Title: Re: Change default Category view from List to Grid?`
Post by: jenkinhill on June 05, 2018, 10:40:14 AM
No versions or URL given, but from that little image it seems you are using a commercial template/overrides.

Main setting in default templates for "grid/list" layout is in VM Configuration/Templates/Template and Layouts - Sublayouts for products in category. Default sublayout gives a grid,  products_horizon sublayout gives a form of list, products_slim gives a compacted grid. But your layouts may be compeletly different if you have subcategory overrides.
Title: Re: Change default Category view from List to Grid?`
Post by: Gingerweb on June 05, 2018, 12:49:32 PM
Ok thats helpful many thanks