Zen Follower
- Join Date:
- Feb 2009
- Posts:
- 354
- Plugin Contributions:
- 0
Search results on the bottom of each row
On the search results page I have product images being pulled up as I wish. In order to do so in the 'tpl_module_products_listing.php' file I referenced out 'tpl_tabular_display.php' and put my own file without the tables as it was causing inconsistencies with different resolutions and screen sizes. So now I have a <div> tag around the php being pulled in; like this:
<div class="align_results">
<?php echo $list_box_contents[$row][$col]['text'] ?>
</div>
The css for that div tag is like this:
float: left;
height:124px;
padding-right:12px;
padding-bottom:25px;
padding-top: 10px;
border-bottom: thin solid #CCCCCC;
The problem that I am having is that some of the product images are portrait views and others are landscapes - and the landscapes are not sitting flush (at the bottom of each row) to the portrait images. This may seem like a simple problem (and I hope it is) but I haven't been able to solve it with quite a lot of effort and more than enough trial and error.
Please if anyone knows the solution or can suggest anything that might help please do..
_Thanks