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)
-   -   Resize the header graphic (https://forum.x-cart.com/showthread.php?t=25581)

Oh So Curvy 10-06-2006 02:18 AM

Resize the header graphic
 
Hi,

I was hoping to fix this problem myself, but after reading quite a few posts and trying what was suggested I am not getting anywere. So, I do apologise if this is very simple afterall.

I've got a site with a skin ( www.ohsocurvy.com.au ) and would like to half the height of the top graphic. I've read about the head.tpl and the rectangle_top.tpl and tried to adjust various height settings on them, but the size of the top graphic does not reduce.

It also seems like there is an overlay on the head.tpl (the flower and woman graphics) that I don't mind loosing or would like to resize too.

Can anyone tell me if this is actaully possible and how to do it if so.

Many Many Thanks

balinor 10-06-2006 02:38 AM

Re: Resize the header graphic
 
The main graphic is a background...you need to resize that and re-upload it. It is:

skin1/images/custom/topbg.gif

Also, probably in head.tpl, you need to change the size of the spacer graphic that is controlling the height:

<TD><IMG src="/skin1/images/spacer.gif" width="47" height="153" border="0"></TD>

Oh So Curvy 10-06-2006 08:52 PM

Re: Resize the header graphic
 
Thanks so much. :mrgreen:

I managed to resize the topbg and top_image, but I am stuggeling with the head.tpl.

All the spacers seems to be "1" in height.

Can you please tell me where I need to make an adjustment. This is the code from my head.tpl.

Thanks again, I really appreciate your help and love the work you've done... checked out yur site...


{* $Id: head.tpl,v 1.40.2.4 2005/11/15 09:25:38 max Exp $ *}
<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
<TR>
<TD width="27">&nbsp;</TD>
<TD><A href="{$http_location}"><IMG src="{$ImagesDir}/xlogo.gif" width="244" height="67" border="0"></A></TD>
<TD valign="top" align="right">
{if $usertype eq "C"}
{include file="customer/top_menu.tpl"}
{/if}
</TD></TR>
</TABLE>
<TABLE border="0" cellpadding="0" cellspacing="0" width="100%">
<TR>
<TD colspan="2" class="VertMenuBorder"><IMG src="{$ImagesDir}/spacer.gif" width="1" height="1" border="0"></TD>
</TR>
<TR>
<TD class="HeadLine" height="22">
{if #ShowHorCategories# ne "Y"}
{ include file="customer/search.tpl"}
{else}
{ include file="customer/hor_categories.tpl"}
{/if}
</TD>
<TD class="HeadLine" align="right">
{if ($usertype eq "C" || $usertype eq "B")and $all_languages_cnt gt 1}
<TABLE border="0" cellpadding="0" cellspacing="0">
<FORM action="home.php" method="GET" name="sl_form">
<INPUT type="hidden" name="redirect" value="{$smarty.server.PHP_SELF}?{$smarty.server.Q UERY_STRING|escape}">
<TR>
<TD>
<B>{$lng.lbl_select_language}:&nbsp;</B>
<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{/if}>{$all_languages[ai].language}</OPTION>
{/section}
</SELECT>
</TD></TR>
</FORM>
</TABLE>
{else}
&nbsp;
{/if}
</TD>
</TR>
<TR>
<TD colspan="2" class="VertMenuBorder"><IMG src="{$ImagesDir}/spacer.gif" width="1" height="1" border="0"></TD>
</TR>
{******** Remove this line to display how much products there are online ****
<TR>
<TD colspan="2" class="NumberOfArticles" align="right">{insert name="productsonline"} {$lng.lbl_products} {if $config.Appearance.show_in_stock eq "Y"}{$lng.lbl_and} {insert name="itemsonline"} {$lng.lbl_items} {/if}{$lng.lbl_online}&nbsp;</TD>
</TR>
**** Remove this line to display how much products there are online ********}
<TR>
<TD colspan="2" valign="middle" height="32">
<TABLE cellspacing="0" cellpadding="0" border="0" width="100%" height="18">
<TR>
<TD><IMG src="{$ImagesDir}/spacer.gif" width="1" height="18" border="0"></TD>
{if (($main eq 'catalog' && $cat ne '') || $main eq 'product' || ($main eq 'comparison' && $mode eq 'compare_table') || ($main eq 'choosing' && $smarty.get.mode eq 'choose')) && $config.Appearance.enabled_printable_version eq 'Y'}
<TD width="100%" valign="middle" align="right">{include file="printable.tpl"}</TD>
<TD><IMG src="{$ImagesDir}/spacer.gif" width="176" height="1" border="0"></TD>
{/if}
</TR>
</TABLE>
</TD>
</TR>
</TABLE>


All times are GMT -8. The time now is 01:43 PM.

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