catalog/includes/modules/product_listing.php
Find:
PHP Code:
// end extra product fields
$lc_align = '';
if (isset($_GET['manufacturers_id'])) {
$lc_text = '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $_GET['manufacturers_id'] . '&products_id=' . $listing[$x]['products_id']) . '">' . $listing[$x]['products_name'] . (($gridlist == 'list') ? $short : '') /*begin epf*/ . $extra /*end epf*/ . '</a>'; } else {
$lc_text = ' <a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing[$x]['products_id']) . '">' . $listing[$x]['products_name'] . (($gridlist == 'list') ? $short : '') /*begin epf*/ . $extra /*end epf*/ . '</a> '; }
break;
and change to:
PHP Code:
// end extra product fields
$lc_align = '';
if (isset($_GET['manufacturers_id'])) {
$lc_text = '<div class="product_text"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'manufacturers_id=' . $_GET['manufacturers_id'] . '&products_id=' . $listing[$x]['products_id']) . '">' . $listing[$x]['products_name'] . (($gridlist == 'list') ? $short : '') /*begin epf*/ . $extra /*end epf*/ . '</a></div>'; } else {
$lc_text = ' <div class="product_text"><a href="' . tep_href_link(FILENAME_PRODUCT_INFO, ($cPath ? 'cPath=' . $cPath . '&' : '') . 'products_id=' . $listing[$x]['products_id']) . '">' . $listing[$x]['products_name'] . (($gridlist == 'list') ? $short : '') /*begin epf*/ . $extra /*end epf*/ . '</a></div> '; }
break;
Then style the "product_text" div in your stylesheet - try height: 20px;
Not tested so backup before you change!
Regards.
Bookmarks