View Single Post
  #7  
Old 04-13-2009, 02:23 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Border around products in 3 column layout.

Yes, it makes all items looks like them have equal height and the layout is more accurate.
I can't post complete solution since the whole products_t.tpl significally differs from original but here's some clues
Code:
{foreach from=$row item=product name=cycle} {if $product} <td class="product-cell product-cell-buynow" style="border:1px solid #ccc;border-top:0px none;"> <img height="1" width="172" src="{$ImagesDir}/m21.gif" alt="" /> {if $config.Appearance.buynow_button_enabled eq "Y"} {include file="customer/main/buy_now.tpl"} {else} &nbsp; {/if} </td> {if not $smarty.foreach.cycle.last}<td><img src="{$ImagesDir}/spacer.gif" height="5" width="5" alt="" /></td>{/if} {/if} {/foreach} </tr> {if not $smarty.foreach.products_matrix.last}<tr><td colspan="{$config.Appearance.products_per_row*2-1}"><img src="{$ImagesDir}/spacer.gif" height="5" width="5" alt="" /></td></tr>{/if} {/foreach}
__________________
Regards,
Victor Dubiniuk

X-Cart Skins Store
- twenty two different skins for 4.1.x and 4.2.x;
- 4.3.x compatible versions are available;
- refresh you store now!

Smart menu X-Cart add-on for 4.1.8 - 4.3.x
Featured Products Slide Show X-Cart add-on for 4.1.8 - 4.3.x
Reply With Quote