Forums / Templates, Stylesheets, Page Layout / Feature - Special Products - Images per row

Feature - Special Products - Images per row

Locked

Views: 1,324

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
25 Sep 2008, 10:20 PM
#1
relaxme avatar

relaxme

New Zenner

Join Date:
May 2008
Posts:
4
Plugin Contributions:
0

Feature - Special Products - Images per row

I am looking for help to get the layout of images correct on my site. https://www.relaxme.com.au I am a novice at Zen and this is my first attempt at a site. I have set the number of images per row to 3 - but it always displays them on the first 2 colmuns only. This also happens with specials etc, also on the Categorys - eg if you select "Livvys Lights Soy Candles" the Category images shown are 3 wide - in the settings I selected 4 wide but again it leaves out the last column. I have tried resizing etc but nothing seems to work.

Nick

28 Sep 2008, 12:38 PM
#2
relaxme avatar

relaxme

New Zenner

Join Date:
May 2008
Posts:
4
Plugin Contributions:
0

Re: Feature - Special Products - Images per row

I have fixed the problem, finally found a post that could help

http://www.zen-cart.com/forum/showthread.php?t=100171

Had to change mine to -2 but it has worked.

Also changed one extra line to fix up catagory spacing.

includes/modules/category_row.php
Was
$col_width = floor(100/MAX_DISPLAY_CATEGORIES_PER_ROW);

Changed to
$col_width = floor(100/MAX_DISPLAY_CATEGORIES_PER_ROW)-2;

Note the the above single change may not work without changing the other lines in post mentioned above.