X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Messed up with head_customer.tpl (https://forum.x-cart.com/showthread.php?t=35470)

CrEsT 11-15-2007 01:47 PM

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?

CrEsT 11-17-2007 02:42 PM

Re: Messed up with head_customer.tpl
 
Help anyone?

neroag 11-18-2007 10:45 AM

Re: Messed up with head_customer.tpl
 
You will need to customise your head.tpl tables to suit what your trying to do.


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

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.