Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Can I set valign="top" for this somewhere?


jlknauff

Recommended Posts

http://www.wildfiremarketinggroup.com/cart...ex.php/cPath/26

 

I want all of these rows to be vertically aligned the same way that they are if you view the cart. Can it be done?

 

Check towards the bottom of catalog/includes/modules/product_listing.php for

			break;
	}

	$list_box_contents[$cur_row][] = array('align' => $lc_align,
										   'params' => 'class="productListing-data"',
										   'text'  => $lc_text);
  }
}

new productListingBox($list_box_contents);
 } else {
$list_box_contents = array();

$list_box_contents[0] = array('params' => 'class="productListing-odd"');
$list_box_contents[0][] = array('params' => 'class="productListing-data"',
							   'text' => TEXT_NO_PRODUCTS);

 

 

Change to this (only one line)

			break;
	}

	$list_box_contents[$cur_row][] = array('align' => $lc_align,
										   'params' => 'valign="top" class="productListing-data"',
										   'text'  => $lc_text);
  }
}

new productListingBox($list_box_contents);

 

just tested on my local setup and seems to work as you want.

 

Geotex

GEOTEX from Houston, TX

 

(George)

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...