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

Company Logo

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 08-06-2009, 05:00 PM
 
greyseal greyseal is offline
 

Member
  
Join Date: Apr 2009
Location: Northern N.J.
Posts: 10
 

Default Company Logo

I have uploaded a new Company logo tacslogo.png to:
Edit Templates > Images and
Edit Templates > Customer > Images
and have altered the Smarty Templetes:
Skin1/Customer/heatd.tpl and
Skin 1/head.tpl to read:

{*
$Id: head.tpl,v 1.65 2008/11/25 11:03:29 cray Exp $
vim: set ts=2 sw=2 sts=2 et:
*}
<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td class="HeadLogo"><a href="{$http_location}/"><img src="{$ImagesDir}/tacslog.png" width="550" height="67" alt=""

My logo reads in the cart management pages but not on the live site.
I cleared the cache under: Summary > Tools>Clear templates cache
I removed the company_logo.gif from
Skin1/images/fashion_mosaic
My URL http://theaircleanerstore.com/store/

What next?
X Cart 4.21
__________________
XCZC-XUBX-UDZE-BZEF
X-Cart 4.3.0
New Jersey, USA
Reply With Quote
  #2  
Old 08-06-2009, 05:14 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,195
 

Default Re: Company Logo

Your store front actually reads "<a alt="" href="*}/tacslogo.png"/>" so you clearly have something wrong in your skin1/customer/head.tpl
Double check the call for the image there
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote
  #3  
Old 08-06-2009, 05:43 PM
 
greyseal greyseal is offline
 

Member
  
Join Date: Apr 2009
Location: Northern N.J.
Posts: 10
 

Default Re: Company Logo

Thank you. The code need to be altered

<td class="HeadLogo"><a href="{$http_location}/"><img src="{$ImagesDir}/tacslogo.png" width="550" height="67" alt="" /></a></td>

That did the trick!
__________________
XCZC-XUBX-UDZE-BZEF
X-Cart 4.3.0
New Jersey, USA
Reply With Quote
  #4  
Old 08-06-2009, 06:13 PM
 
greyseal greyseal is offline
 

Member
  
Join Date: Apr 2009
Location: Northern N.J.
Posts: 10
 

Default Re: Company Logo

A new but related problem. The head of my web page has lost some of it's formating and is scrunched together. I increased the height of my logo, and it helped some, but is still a problem.
www.theaircleanerstore.com/store
__________________
XCZC-XUBX-UDZE-BZEF
X-Cart 4.3.0
New Jersey, USA
Reply With Quote
  #5  
Old 08-06-2009, 06:24 PM
 
greyseal greyseal is offline
 

Member
  
Join Date: Apr 2009
Location: Northern N.J.
Posts: 10
 

Default Re: Company Logo

I have restores the code to the original, with the addition of my company logo. I think the change of code corrupted the formating, so better to start from the original code.
__________________
XCZC-XUBX-UDZE-BZEF
X-Cart 4.3.0
New Jersey, USA
Reply With Quote
  #6  
Old 08-06-2009, 08:50 PM
  ARW VISIONS's Avatar 
ARW VISIONS ARW VISIONS is offline
 

X-Man
  
Join Date: Jan 2007
Location: Pensacola, FL
Posts: 2,536
 

Default Re: Company Logo

check this CSS.
The css uses a background image for the l;ogo no an inline <img> tag.


#header .line1 .logo a:link,
#header .line1 .logo a:visited,
#header .line1 .logo a:hover,
#header .line1 .logo a:active
{
display: block;
width: 228px;
height: 50px;
background: transparent url(images/fashion_mosaic/company_logo.gif) no-repeat left top;
}
#header .line1 .logo img {
display: none;
}
__________________
xcart 5.1.2
Reply With Quote
  #7  
Old 01-01-2010, 09:52 AM
 
worldomega worldomega is offline
 

Advanced Member
  
Join Date: Apr 2009
Posts: 79
 

Default Re: Company Logo

They seem to have changed this in 4.3.0. Has anyone tried to modify company_logo size in 4.3 yet?
__________________
Using 4.3.1 and looking forward to 4.4. I wish for easy upgrade!
Reply With Quote
  #8  
Old 01-01-2010, 10:27 AM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default Re: Company Logo

On Light and Lucid 4.3.0:
Original:
Main.css
#header .line1 .logo a img {
height:48px;
width:203px;
}

Customer/head.tpl

<div class="line1">
<div class="logo">
<a href="{$catalogs.customer}/home.php"><img src="{$ImagesDir}/xlogo.gif" alt="" /></a>
</div>

MY CHANGES
#header .line1 .logo a img {
width: 200px;
height: 60px;
}

<div class="line1">
<div class="logo">
<a href="{$catalogs.customer}/home.php"><img src="{$ImagesDir}/abeezcustom/yourlogo.gif" alt="Way Hay A Logo Change" /></a>
</div>


Hope this is what you mean, works as it should
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote
  #9  
Old 01-01-2010, 10:37 AM
  gizmo's Avatar 
gizmo gizmo is offline
 

X-Adept
  
Join Date: Jan 2005
Location: Crawley : UK
Posts: 618
 

Default Re: Company Logo

Just for the record better to add following
title="Way Hay A Logo Change"

Or just title, not sure of web standard (Need to check that) but as far as I know just having "Alt" will not show in firefox

So it will be
<div class="line1">
<div class="logo">
<a href="{$catalogs.customer}/home.php"><img src="{$ImagesDir}/abeezcustom/yourlogo.gif" alt="Way Hay A Logo Change" title="Way Hay A Logo Change"/></a>
</div>

Don't know what skin your using, but I would assume it's almost same, agin firefox bug will give you what you need (Most of the time)..
__________________
Thank You - Alan
Don't be like me, and keep saying "Nearly did it" go do it!!
Version: 4.4.4 Gold -
Reply With Quote
  #10  
Old 01-06-2010, 12:52 AM
 
Tim Glavin Tim Glavin is offline
 

Member
  
Join Date: Dec 2009
Posts: 14
 

Default Re: Company Logo

I found this thread and was interested in the information about that Xlogo.gif file and placement in X-cart 4.3.
I am using the neon lights template.
When I went to the CSS in main.css and changed the setting for width and height.
It made no change to xlogo.gif

If you right click on that logo in a browser and read its properties, it says...
159px в 47px (scaled to 205px в 26px)

Does anyone know where this scaling is set and how to change it?
It does not work at the CSS settings mentioned just above.

No matter what image I put there, it alters it to fit the scale settings.
__________________
Tim Glavin
X-Cart 4.3
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 01:38 PM.

   

 
X-Cart forums © 2001-2020