Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Category layout
 
GPutignano
Sr. Member
 
Avatar
Total Posts:  214
Joined:  2007-11-03
Lauria - Italy
 

In Magento v1.5.0.1 if I set Page Layout to 2 columns for a category page I get a wrong display of grid layout as can you see in the image attached.
The layout is composed of 4 columns but are shown 3 products for row.
Is this a bug? How can I resolve?

Image Attachments
grid-layout.png
 
Magento Community Magento Community
Magento Community
Magento Community
 
track-23
Member
 
Total Posts:  33
Joined:  2011-02-09
 

It’s not a bug - it’s just buried. In your app/design/frontend/package/theme/layout/catalog.xml file there are multiple instances of the following code:

<action method="setColumnCount"><columns>3</columns></action>

Just change them to 4 columns in the catalog_category_default and catalog_category_layered sections and you should be good.

<action method="setColumnCount"><columns>4</columns></action>
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top