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

Moving Your Logo Over...

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 09-11-2007, 01:03 PM
 
crcool75 crcool75 is offline
 

Advanced Member
  
Join Date: Jan 2006
Posts: 87
 

Default Moving Your Logo Over...

Hello,

Could someone please tell me how to move my logo at the top, left hand corner of the screen over to the left a little more? There's a blank area to the left of the logo that I'd like to reduce.

Thanks
__________________
X-Cart Gold 4.4.0
Reply With Quote
  #2  
Old 09-11-2007, 01:10 PM
 
balinor balinor is offline
 

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

Default Re: Moving Your Logo Over...

crcool, please be sure to read which forum you are posting in, this is clearly a template editing question, so I'm moving it to the Template Editing forum.

Have a look at head.tpl, you'll see the code for the logo. Depending on your skin, you'll probably need to remove the table cell spacing it to the right.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 09-11-2007, 01:22 PM
 
crcool75 crcool75 is offline
 

Advanced Member
  
Join Date: Jan 2006
Posts: 87
 

Default Re: Moving Your Logo Over...

Thanks balinor, I was thinking "New Installation" because that's what this is.

It's doesn't appear to be in head.tpl. There's nothing before the logo that I'm aware of.
__________________
X-Cart Gold 4.4.0
Reply With Quote
  #4  
Old 09-11-2007, 01:27 PM
 
balinor balinor is offline
 

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

Default Re: Moving Your Logo Over...

It isn't 'New Installation' it is Installation and setup, which covers installing the cart and configuring it. Changing the look and feel questions go in Storefront Design and Template Editing

Post your head.tpl, as you are using an older version of the cart that not all of us remember so well
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 09-11-2007, 01:43 PM
 
crcool75 crcool75 is offline
 

Advanced Member
  
Join Date: Jan 2006
Posts: 87
 

Default Re: Moving Your Logo Over...

Oops, I forgot to change my signature. We're upgrading from 4.0.14 to 4.1.8. Here's my head.tpl file:

{* $Id: head.tpl,v 1.58 2006/03/17 08:50:44 svowl Exp $ *}
<table cellpadding="0" cellspacing="0" width="100%">
<tr bgcolor="#000000" align ="left">
<td class="HeadLogo" bgcolor="#FFFFFF" width="700"><div align="left"><a href="{$http_location}/"><img src="{$ImagesDir}/logo.jpg" width="700" height="81" alt="" /></a></div></td>
<td class="HeadRightBox">
{if $usertype eq "C"}
{include file="customer/top_menu.tpl"}
{/if} </td>
</tr>
</table>
<table cellpadding="0" cellspacing="0" width="100%">
<!-- <tr>
<td colspan="2" class="HeadThinLine"><img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /></td>
</tr> -->
{if $main ne "fast_lane_checkout"}
<tr>
<td class="HeadLine" height="22">
{if $usertype eq "C"}
{ include file="customer/search.tpl" }
{/if}
</td>
<td class="HeadLine" align="right">
{if ($usertype eq "C" || $usertype eq "B") && $all_languages_cnt gt 1}
<form action="home.php" method="get" name="sl_form">
<input type="hidden" name="redirect" value="{$smarty.server.PHP_SELF}?{$smarty.server.Q UERY_STRING|amp}" />
<table cellpadding="0" cellspacing="0">
<tr>
<td style="padding-right: 5px;"><b>{$lng.lbl_select_language}:</b></td>
<td><select name="sl" onchange="javascript: this.form.submit();">
{section name=ai loop=$all_languages}
<option value="{$all_languages[ai].code}"{if $store_language eq $all_languages[ai].code} selected="selected"{/if}>{$all_languages[ai].language}</option>
{/section}
</select></td>
</tr>
</table>
</form>
{else}
&nbsp;
{/if}
</td>
</tr>
{else}
{* Fast Lane Checkout page *}
<tr>
<td colspan="2" class="HeadLine">
<form action="{$xcart_web_dir}/include/login.php" method="post" name="toploginform">
<input type="hidden" name="mode" value="logout" />
<input type="hidden" name="redirect" value="{$redirect}" />
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="FLCAuthPreBox">
{if $active_modules.SnS_connector and $sns_collector_path_url ne '' && $config.SnS_connector.sns_display_button eq 'Y'}
<img src="{$ImagesDir}/rarrow.gif" alt="" valign="middle" /><b>{include file="modules/SnS_connector/button.tpl" text_link="Y"}</b>
{else}
<img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" />
{/if}
</td>
{if $login ne ""}
<td align="right" nowrap="nowrap"><b>{$userinfo.firstname} {$userinfo.lastname}</b> {$lng.txt_logged_in}</td>
<td class="FLCAuthBox">
{if $js_enabled}
{include file="buttons/button.tpl" button_title=$lng.lbl_logoff href="javascript: document.toploginform.submit();" js_to_href="Y"}
{else}
{include file="buttons/logout_menu.tpl"}
{/if}
</td>
{/if}
</tr>
</table>
</form>
</td>
</tr>
{/if}
<tr>
<td colspan="2" class="HeadThinLine"><img src="{$ImagesDir}/spacer.gif" class="Spc" alt="" /></td>
</tr>
{******** Remove this line to display how much products there are online ****
<tr>
{insert name="productsonline" assign="_productsonline"}
<td colspan="2" class="NumberOfArticles" align="right">
{if $config.Appearance.show_in_stock eq "Y"}
{insert name="itemsonline" assign="_itemsonline"}
{$lng.lbl_products_and_items_online|substitute:"X" :$_productsonline:"Y":$_itemsonline}
{else}
{$lng.lbl_products_online|substitute:"X":$_product sonline}
{/if}
&nbsp;
</td>
</tr>
**** Remove this line to display how much products there are online ********}
{if $main ne "fast_lane_checkout"}
<tr>
<td colspan="2" valign="middle" height="32">
<table cellspacing="0" cellpadding="0" width="100%">
<tr>
<td class="HeadTopPad"><img src="{$ImagesDir}/spacer.gif" alt="" /></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 class="PrintableRow" align="right">{include file="printable.tpl"}</td>
{/if}
</tr>
</table>
</td>
</tr>
{else}
{* Fast Lane Checkout page *}
<tr>
<td colspan="2" class="FLCTopPad"><img src="{$ImagesDir}/spacer.gif" alt="" /></td>
</tr>
{/if}
</table>
__________________
X-Cart Gold 4.4.0
Reply With Quote
  #6  
Old 09-11-2007, 01:49 PM
 
balinor balinor is offline
 

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

Default Re: Moving Your Logo Over...

That info would have helped in the beginning

Look at this class in skin1.css and remove the left padding:

HeadLogo
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #7  
Old 09-11-2007, 04:17 PM
 
crcool75 crcool75 is offline
 

Advanced Member
  
Join Date: Jan 2006
Posts: 87
 

Default Re: Moving Your Logo Over...

Ohhh, you're awsome, balinor! Thanks!
__________________
X-Cart Gold 4.4.0
Reply With Quote
  #8  
Old 11-13-2007, 07:17 PM
 
iry iry is offline
 

Member
  
Join Date: Sep 2007
Location: New York
Posts: 23
 

Default Re: Moving Your Logo Over...

Quote:
Originally Posted by balinor
That info would have helped in the beginning

Look at this class in skin1.css and remove the left padding:

HeadLogo

I also trying to do this. I am doing what balinor says - remove the left padding from skin1.css
this is what i have
.HeadLogo {
PADDING-LEFT: 27px;
TEXT-ALIGN: left;

And when i remove it

.HeadLogo {

TEXT-ALIGN: left;
it does not do anything to the logo.
__________________
iry
xcart gold - 4.6.1)
Stylehippo.com
Big Scoots Hosting
Reply With Quote
  #9  
Old 11-14-2007, 04:20 AM
 
balinor balinor is offline
 

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

Default Re: Moving Your Logo Over...

Be sure to clear your template cache after you make the change - you can do this via your Summary screen or by running yourdomain.com/cleanup.php. Also refresh your browser multiple times, sometimes it 'sticks'.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #10  
Old 11-14-2007, 04:56 AM
  SystemSkins's Avatar 
SystemSkins SystemSkins is offline
 

eXpert
  
Join Date: Oct 2007
Posts: 350
 

Default Re: Moving Your Logo Over...

Sometimes it's an easy oversight.... don't forget to close it with a }
Code:
.HeadLogo { TEXT-ALIGN: left; }
Happens to me all the time /slaps forehead
__________________
Doug Rock
X-cart Gold 4.1.9
_____________________________________
Altered Cart: 1-Page checkout
Firetank: Feed Manager
Website CM: CDSEO PRO
Website CM: Product A-Z Map
Website CM: Review Approval
Website CM: Site Map Pro
Qualiteam: Sales & Stats (free version)
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:47 PM.

   

 
X-Cart forums © 2001-2020