View Single Post
  #2  
Old 09-12-2007, 12:33 AM
 
bbazinet bbazinet is offline
 

Newbie
  
Join Date: Sep 2007
Posts: 3
 

Default Re: Customisation of NavBar

You are missing your <tr> tags in minicart.tpl and the "rowspans" are messing up the table alignment. Try the following modification to minicart.tpl code, I managed to fit it nicely in my nav bar on one line.


minicart.tpl
---------------------------------------
Code:
{if $minicart_total_items > 0} <tr> <td width="23"><a href="cart.php"><img src="{$ImagesDir}/cart_full.gif" width="19" height="16" alt="" /></a></td> <td class="VertMenuItems"><b>{$lng.lbl_cart_items}: {$minicart_total_items}&nbsp;&nbsp;{$lng.lbl_total}: {include file="currency.tpl" value=$minicart_total_cost}</b></td> </tr> {else} <tr> <td width="23"><img src="{$ImagesDir}/cart_empty.gif" width="19" height="16" alt="" /></td> <td class="VertMenuItems" align="center"><b>{$lng.lbl_cart_is_empty}</b> </td> </tr> {/if}
__________________
x-cart 4.1.8 Gold
Reply With Quote