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

Header Banner and Speed Bar Adjustment

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-13-2009, 12:24 PM
 
DmltnMn DmltnMn is offline
 

Newbie
  
Join Date: Feb 2009
Posts: 3
 

Default Header Banner and Speed Bar Adjustment

Getting stumped on how to do what should be a quick fix.

I am using a banner on top that is bigger/taller than your typical banner...it's 271 pixels tall. This is making my speed bar appear in the middle of the banner on the right. How do I move the speed bar down about 150 pixels so it doesn't cover my banner?

I need to know the file to edit and what part to edit.

Using X-Cart 4.2.0.

Thanks.
__________________
X-Cart Gold 4.2.0
Reply With Quote
  #2  
Old 04-13-2009, 12:33 PM
 
balinor balinor is offline
 

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

Default Re: Header Banner and Speed Bar Adjustment

http://www.x-cart.com/xcart_manual/online/?overview_of_x_carts_templates.htm

May also want to read this, which is for an older version, but many of the same principals apply: http://forum.x-cart.com/showthread.php?t=21529

Moving to the 4.2 forum.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 04-13-2009, 01:33 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,191
 

Default Re: Header Banner and Speed Bar Adjustment

You need to change the height in #header {} and margin in #content-container {} in your css file
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #4  
Old 04-23-2009, 09:46 PM
  AusNetIT's Avatar 
AusNetIT AusNetIT is offline
 

Senior Member
  
Join Date: Apr 2009
Posts: 152
 

Default Re: Header Banner and Speed Bar Adjustment

HI All,

I just remove the SB and all from Top header but now
I need to move this Speed bar inside into Search Box ?

Hear is my Customer/head.tpl pls clean up the code and help.

{*
$Id: head.tpl,v 1.12 2008/11/21 07:49:55 max Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
<div class="line1">
<TABLE border="0" cellpadding="0" cellspacing="0" width="100%" align="Left" bgcolor="#ffffff"><TR>
<TD width="0" height="100"> </TD>
<TD><A href="{$http_location}/"><IMG src="{$ImagesDir}/Logo.jpg" border="0"></A></TD>
<TD valign="middle" align="center">
<a href="{$http_location}/">
<IMG src="{$ImagesDir}/banner.jpg" border="0">
</a>
</TD></TR>
</TABLE>
{* <div class="logo"><a href="{$catalogs.customer}/home.php"><img src="{$ImagesDir}/Logo.jpg" alt="" /></a></div> *}
{* {if $speed_bar}
<div class="tabs">
<ul>
{foreach from=$speed_bar item=sb}
<li><a href="{$sb.link|amp}">{$sb.title}</a></li>
{/foreach}
</ul>
</div>
{/if} *}
{* <div class="phones">
{if $config.Company.company_phone}
<span>{$lng.lbl_phone_1_title}: {$config.Company.company_phone}</span>
{/if}
{if $config.Company.company_phone_2}
<span>{$lng.lbl_phone_2_title}: {$config.Company.company_phone_2}</span>
{/if}
</div> *}
</div>
<div class="line2">
{if $main ne "fast_lane_checkout"}
<div class="search">
<div class="valign-middle">
<form method="post" action="search.php" name="productsearchform">
<input type="hidden" name="simple_search" value="Y" />
<input type="hidden" name="mode" value="search" />
<input type="hidden" name="posted_data[by_title]" value="Y" />
<input type="hidden" name="posted_data[by_descr]" value="Y" />
<input type="hidden" name="posted_data[by_sku]" value="Y" />
<input type="hidden" name="posted_data[search_in_subcategories]" value="Y" />
<input type="hidden" name="posted_data[including]" value="all" />
{strip}
<span class="search">{$lng.lbl_search}:</span>
<input type="text" name="posted_data[substring]" size="16" value="{$search_prefilled.substring|escape}" />
{include file="customer/buttons/button.tpl" type="input" style="image"}
<a href="search.php" class="search">{$lng.lbl_advanced_search}</a>
{/strip}
</form>
</div>
</div>
{if $all_languages_cnt gt 1}
<div class="languages">
<form action="home.php" method="get" name="sl_form">
<input type="hidden" name="redirect" value="{$smarty.server.PHP_SELF}{if $smarty.server.QUERY_STRING}?{$smarty.server.QUERY _STRING|amp}{/if}" />
{strip}
<label>{$lng.lbl_select_language}:
<select name="sl" onchange="javascript: this.form.submit();">
{foreach from=$all_languages item=l}
<option value="{$l.code}"{if $store_language eq $l.code} selected="selected"{/if}>{$l.language}</option>
{/foreach}
</select>
</label>
{/strip}
</form>
</div>
{/if}
{else}
{include file="modules/Fast_Lane_Checkout/head.tpl"}
{/if}
</div>
<div class="line3">
{if $printable_link_visible}
<div class="printable-bar">
<a href="{$php_url.url}?printable=Y{if $php_url.query_string ne ''}&{$php_url.query_string|amp}{/if}">{$lng.lbl_printable_version}</a>
</div>
{/if}
</div>






Thanks,
__________________
Melbourne website design | SEO in Melbourne

Installed Ver 4.6.0
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 08:41 PM.

   

 
X-Cart forums © 2001-2020