cancel
Showing results for 
Search instead for 
Did you mean: 

Changing column width in grid view for a category using Custom Layout Update

Changing column width in grid view for a category using Custom Layout Update

So most of my categories use 3 columns in grid view on category pages. But I have a category that I only show 2 columns and my hope is to allow for larger product images just for this certain category. Not for every category.

 

I used a Custom Layout update in the category (see below) to change the number of columns. Is there a way to change the width of the columns also using a Custom Layout update?

<reference name="product_list">
    <action method="setColumnCount"><columns>2</columns></action>       
 </reference>

Thanks

1 REPLY

Re: Changing column width in grid view for a category using Custom Layout Update

Hi,

 

There is no option to define column width via custom layout. You need to define it via CSS only by taking some parent class of particular category. Hope this will help you.