Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Messed up with head_customer.tpl

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 11-15-2007, 01:47 PM
 
CrEsT CrEsT is offline
 

Member
  
Join Date: Aug 2005
Posts: 13
 

Default Messed up with head_customer.tpl

Hi,

I'm having problems adding a 731x85px header.

This is what I have on head_customer.tpl:

Code:
<img src="{$ImagesDir}/spacer.gif" class="TopLine" alt="" /> <table cellpadding="0" cellspacing="0" width="100%"> <tr class="TopMenu"> <td rowspan="2" width="22" height="{if $main ne "fast_lane_checkout"}103{else}73{/if}"><img src="{$ImagesDir}/spacer.gif" width="1" height="23" alt="" /></td> <td class="TopLinks"> {if $config.Company.company_phone}{$lng.lbl_phone_1_title}: {$config.Company.company_phone}{/if}{if $config.Company.company_phone_2}&nbsp;&nbsp;&nbsp;{$lng.lbl_phone_2_title}: {$config.Company.company_phone_2}{/if} </td> <td align="right" valign="middle"> {section name=sb loop=$speed_bar} {if $speed_bar[sb].active eq "Y"} <img src="{$ImagesDir}/customer_images/arrow.gif" width="27" height="8" alt="" /> <a href="{$speed_bar[sb].link}" class="TopMenu">{$speed_bar[sb].title} {if $speed_bar[sb].link eq "cart.php"}<img src="{$ImagesDir}/customer_images/cart.gif" width="23" height="12" alt="" /></a> {else} </a>&nbsp; {/if} {/if} {/section} </td> <td rowspan="2" width="25"><img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /></td> </tr> <tr> <td valign="top"><a href="{$http_location}/home.php"><img src="{$ImagesDir}/customer_images/company_logo.jpg" width="731" height="85" alt="" /></a></td> <td align="right" class="HeadText"> {if $all_languages_cnt gt 1 && $main ne "fast_lane_checkout"} <form action="home.php" method="get" name="sl_form"> <input type="hidden" name="redirect" value="{$smarty.server.PHP_SELF}?{$smarty.server.QUERY_STRING}" /> <table cellpadding="0" cellspacing="0"> <tr> <td valign="middle" style="padding-right: 5px;"><font class="TopMenuSmallText">{$lng.lbl_select_language}:</font></td> <td> <select name="sl" onchange="javascript: document.sl_form.submit()"> {section name=ai loop=$all_languages} <option value="{$all_languages[ai].code}"{if $store_language eq $all_languages[ai].code} selected="selected"{/if}>{$all_languages[ai].language}</option> {/section} </select> </td> </tr> </table> </form> {else} &nbsp; {/if} </td> </tr> </table> <table cellpadding="0" cellspacing="0" width="100%"> {if $main ne "fast_lane_checkout"} <tr> <td class="VertMenuLeftColumn" valign="top">{ include file="customer/search.tpl" }</td> <td width="556" valign="top" class="HeadLine">{if $login eq "" }{include file="customer/auth.tpl"}{else}{ include file="customer/authbox.tpl" }{/if} <table cellpadding="0" cellspacing="0" width="100%"> <tr> <td height="16">{if $main ne "catalog" or $current_category.category ne ""}{include file="location.tpl"}{/if}</td> <td align="right" width="107"> <table cellspacing="0" cellpadding="0" border="0"> <tr> <td><img src="{$ImagesDir}/spacer.gif" width="1" height="16" alt="" /></td> {if (($main eq 'catalog' && $cat ne '') || $main eq 'product') && $config.Appearance.enabled_printable_version eq 'Y'} <td width="100%" valign="middle" align="right">{include file="printable.tpl"}</td> {/if} </tr> </table> </td> </tr> </table> </td> </tr> </table> {else} <tr> <td><img src="{$ImagesDir}/spacer.gif" width="100%" height="1" class="HorizMenuTopBorder" style="margin-bottom: 10px;" alt="" /></td> </tr> {/if}

And this is what it looks like:

http://nipponwheels.com.mx/xcart

I don't know how to accomodate the code so it fits nicely on my store. I want it like this:

http://www.tvalskincare.com/

Any help?
__________________
X-Cart Gold v4.1.9
http://www.NipponWheels.com.mx/xcart
Reply With Quote
  #2  
Old 11-17-2007, 02:42 PM
 
CrEsT CrEsT is offline
 

Member
  
Join Date: Aug 2005
Posts: 13
 

Default Re: Messed up with head_customer.tpl

Help anyone?
__________________
X-Cart Gold v4.1.9
http://www.NipponWheels.com.mx/xcart
Reply With Quote
  #3  
Old 11-18-2007, 10:45 AM
 
neroag neroag is offline
 

Senior Member
  
Join Date: May 2005
Location: UK
Posts: 171
 

Default Re: Messed up with head_customer.tpl

You will need to customise your head.tpl tables to suit what your trying to do.
__________________
X-cart Gold - 4.0.18 - 4.1.9 - 4.1.10 - 4.3.0
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 06:45 PM.

   

 
X-Cart forums © 2001-2020