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)
-   -   Header Banner and Speed Bar Adjustment (https://forum.x-cart.com/showthread.php?t=46919)

DmltnMn 04-13-2009 12:24 PM

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.

balinor 04-13-2009 12:33 PM

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.

cflsystems 04-13-2009 01:33 PM

Re: Header Banner and Speed Bar Adjustment
 
You need to change the height in #header {} and margin in #content-container {} in your css file

AusNetIT 04-23-2009 09:46 PM

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,


All times are GMT -8. The time now is 02:19 AM.

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