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)
-   -   Space below head.tpl and above side block? How to edit? (https://forum.x-cart.com/showthread.php?t=19919)

taltos1 02-14-2006 10:41 AM

Space below head.tpl and above side block? How to edit?
 
Hello,
I swear I saw a thread on this but I could not find it so if anyone can point me in the right direction please.

What I am tryign to do is make it so that the topmost sideblock rests right under the head.tpl section. Right now there is a goos 1/2 inch space..

Thank you.

balinor 02-14-2006 11:17 AM

Get rid of the two
tags you have, it looks like in home.tpl:

Code:

<td class="VertMenuLeftColumn">




taltos1 02-15-2006 06:51 PM

Thank you so much. Now, another space I cannot get rid of... to the left of the side blocks, how can get rid of that space.

Thanks!

balinor 02-16-2006 03:00 AM

Thats a table cell in home.tpl, just comment it out or remove it.

taltos1 02-16-2006 05:50 AM

it is <td> tag right? I was not able to find out which one it is...

balinor 02-16-2006 05:51 AM

Actually yours appears to be a custom template, so it is tough to tell.

taltos1 02-16-2006 09:59 AM

Here is my file, I have spent an hour playing with the code, but for the life of me I still cannot get it? Any insight? Thanks a lot!

Code:

{* $Id: home.tpl,v 1.19 2005/12/13 15:01:05 max Exp $ *}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
{if $printable ne ''}
{include file="customer/home_printable.tpl"}
{else}
{config_load file="$skin_config"}
<html>
<head>
<title>
{if $config.SEO.page_title_format eq "A"}
{section name=position loop=$location}
{$location[position].0|strip_tags|escape}
{if not %position.last%} : {/if}
{/section}
{else}
{section name=position loop=$location step=-1}
{$location[position].0|strip_tags|escape}
{if not %position.last%} : {/if}
{/section}
{/if}
</title>
{include file="meta.tpl" }
<link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}" />
</head>
<body{$reading_direction_tag}{if $body_onload ne ''} onload="javascript: {$body_onload}"{/if}>
{include file="rectangle_top.tpl" }
{include file="head.tpl" }
{if $active_modules.SnS_connector}
{include file="modules/SnS_connector/header.tpl"}
{/if}

<table width="100%" cellpadding="0" cellspacing="0">
<tr>
<td class="VertMenuLeftColumn">
{if $active_modules.SnS_connector && $config.SnS_connector.sns_display_button eq 'Y'}
{include file="modules/SnS_connector/button.tpl"}

{/if}
{ include file="customer/menu_cart.tpl" }
{if $login eq "" }

[img]skin1/images/4x4_spacer.gif[/img]
{* include file="auth.tpl" *}

{/if}
{* include file="customer/custom_menu.tpl" *}
{ include file="customer/categories.tpl" }

[img]skin1/images/4x4_spacer.gif[/img]
{if $active_modules.Bestsellers ne "" and $config.Modules.bestsellers_menu eq "Y"}
{ include file="modules/Bestsellers/menu_bestsellers.tpl" }
{/if}
{if $active_modules.Manufacturers ne "" and $config.Modules.manufacturers_menu eq "Y"}
{ include file="modules/Manufacturers/menu_manufacturers.tpl" }
{/if}
{ include file="customer/special.tpl" }
{if $active_modules.Users_online ne ""}
{ include file="modules/Users_online/menu_users_online.tpl" }
{/if}
{if $login eq "" }
{ include file="news.tpl" }
{else}
{ include file="authbox.tpl" }
{/if}
{if $active_modules.Interneka ne ""}
{ include file="modules/Interneka/menu_interneka.tpl" }
{/if}
{ include file="help.tpl" }
{include file="on_ofm.tpl"}
<!-- TD width="21" class="Seperator">
[img]{$ImagesDir}/spacer.gif[/img]
{ include file="poweredby.tpl" }

[img]{$ImagesDir}/spacer.gif[/img]
[img]{$ImagesDir}/spacer.gif[/img]
</td>
<td valign="top">

{if $main ne "catalog" or $current_category.category ne ""}
{include file="location.tpl"}
{/if}
{include file="dialog_message.tpl"}

{if $active_modules.Special_Offers ne ""}
{include file="modules/Special_Offers/customer/new_offers_message.tpl"}
{/if}
{include file="customer/home_main.tpl"}


</td>
<td width="2"></td>
</tr>
</table>
{include file="rectangle_bottom.tpl" }
</body>
</html>
{/if}



All times are GMT -8. The time now is 10:13 AM.

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