![]() |
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 |
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 |
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! |
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 |
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.
|
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; } |
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?
|
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 |
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).. |
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. |
All times are GMT -8. The time now is 03:00 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.