mousewebdesign Posted December 2, 2006 Posted December 2, 2006 Hi there, Does anybody know how to limit the number of columns in new_products.php? I want to display only 2 columns per row instead of the standard 3 columns, because other wise my shop is getting to wide. I've searched the complete admin-section for it, but I can't find anything where I can change the number of columns, only how much items to display. Kind regards, MarcusDesign Quote
Guest Posted March 1, 2007 Posted March 1, 2007 Hi there, Does anybody know how to limit the number of columns in new_products.php? I want to display only 2 columns per row instead of the standard 3 columns, because other wise my shop is getting to wide. I've searched the complete admin-section for it, but I can't find anything where I can change the number of columns, only how much items to display. Kind regards, MarcusDesign Hi, try the following: in this file: catalog/includes/modules/new_products.php at about line 36 change the number "2" here to however many columns you want. $col ++; if ($col > 2) { $col = 0; $row ++; } } 1 = 1 column = 2 products per row 2 = 2 columns = 3 products per row hope this helps regards Mark Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.