Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Product listing image holder width

Product listing image holder width

Views: 470

Results 1 to 6 of 6
7 Aug 2011, 4:11 PM
#1
store_lakewood avatar

store_lakewood

New Zenner

Join Date:
Aug 2011
Location:
london UK
Posts:
26
Plugin Contributions:
0

Product listing image holder width

My images for all products will be 150x150px, I have adjust this so the images look perfect but the image holder for the product list is 309x199 I want the image holder to be the same size as the image.

I can't find the file to adjust this can anyone help?

7 Aug 2011, 4:18 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Product listing image holder width

That should be product listing imagees from your description and these are defined in

admin > config > images > small image width & height

7 Aug 2011, 4:27 PM
#4
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Product listing image holder width

You have an empty <p> - paragraph holder after your description

7 Aug 2011, 4:44 PM
#5
store_lakewood avatar

store_lakewood

New Zenner

Join Date:
Aug 2011
Location:
london UK
Posts:
26
Plugin Contributions:
0

Re: Product listing image holder width

I have adjust that thanks :), i still can't get the image column to narrow?

7 Aug 2011, 5:27 PM
#6
store_lakewood avatar

store_lakewood

New Zenner

Join Date:
Aug 2011
Location:
london UK
Posts:
26
Plugin Contributions:
0

Re: Product listing image holder width

Never mind I have figured it out :D

For those who want to know navigate to includes>modules>YOUR_TEMP>product_listing.php

Them locate:

case 'PRODUCT_LIST_IMAGE':
    $lc_text = TABLE_HEADING_IMAGE;
    $lc_align = 'center' ;
    $zc_col_count_description++;
    break;

and add the following after align = 'center'

. (PRODUCT_LIST_IMAGE > 0 ? '" width="150px' . PRODUCT_LIST_IMAGE : '150px');