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

How to display more products per row in Grid
 
dimi_ned
Jr. Member
 
Total Posts:  22
Joined:  2008-08-01
 

Hello all,

I have customized the default magento theme and changed the layout of the category view to have a two column-left configuration.
So having got rid of the right column, leaves more space to display more products (possibly 4) per table row.

However, I just cannot find how to increase that number. Is it governed by the CSS attributes? Or from someplace else?
The attached screenshot illustrates the problem. If I could only fit one more product per table row…

Thanks for all your time

dimi

Image Attachments
grid_should_fit_4_products_problem.jpg
 
Magento Community Magento Community
Magento Community
Magento Community
 
lotusseedsD
Mentor
 
Avatar
Total Posts:  1144
Joined:  2007-08-31
 

in the ‘list.phtml’, change all ‘3’ to ‘4’ under the <?php // Grid Mode ?>

Example: <?php if ($i++%3==0): ?>

 
Magento Community Magento Community
Magento Community
Magento Community
 
dimi_ned
Jr. Member
 
Total Posts:  22
Joined:  2008-08-01
 

Thank you so much… I overlooked this code.
I’ll try it!

dimi

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top