View Single Post
  #14  
Old 04-08-2009, 01:22 AM
  Victor D's Avatar 
Victor D Victor D is offline
 

X-Adept
  
Join Date: Aug 2008
Posts: 643
 

Default Re: Border around products.

fast borders mod (developed for our templates in 15 minutes)

1. add in the end of your main.css
Code:
.products-table{border-left:1px solid #d7e8ff;border-top:1px solid #d7e8ff} .products-table td.product-cell {border-right:1px solid #d7e8ff} .products-table .last-row .product-cell{border-bottom:#d7e8ff solid 1px}
2. open customer/main/products_t.tpl and replace
Code:
<tr> {foreach from=$row item=product} {if $product} <td class="product-cell product-cell-buynow"> {if $config.Appearance.buynow_button_enabled eq "Y"} {include file="customer/main/buy_now.tpl"} {else} &nbsp; {/if} </td> {/if} {/foreach} </tr>
with
Code:
<tr class="last-row"> {foreach from=$row item=product} {if $product} <td class="product-cell product-cell-buynow"> {if $config.Appearance.buynow_button_enabled eq "Y"} {include file="customer/main/buy_now.tpl"} {else} &nbsp; {/if} </td> {/if} {/foreach} </tr>
(actually just add class to the tr element in the first line of code above)
__________________
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