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

Resize the header graphic

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-06-2006, 02:18 AM
  Oh So Curvy's Avatar 
Oh So Curvy Oh So Curvy is offline
 

Newbie
  
Join Date: Sep 2006
Location: Adelaide, Australia
Posts: 2
 

Default 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
__________________
Sexy Lingerie for Real Women
www.ohsocurvy.com

X-cart v 4.0.19
Windows XP
Australia
Reply With Quote
  #2  
Old 10-06-2006, 02:38 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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>
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 10-06-2006, 08:52 PM
  Oh So Curvy's Avatar 
Oh So Curvy Oh So Curvy is offline
 

Newbie
  
Join Date: Sep 2006
Location: Adelaide, Australia
Posts: 2
 

Default Re: Resize the header graphic

Thanks so much.

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>
__________________
Sexy Lingerie for Real Women
www.ohsocurvy.com

X-cart v 4.0.19
Windows XP
Australia
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 03:31 AM.

   

 
X-Cart forums © 2001-2020