![]() |
can you spare some wisdom for a header
Ok, needless to say i'm frustrated and about to start cursing again like a drunken sailor. I've asked tech support and umm...after 6 hours of waiting on a answer, they decide to close the question without ANSWERING it...so a bit..grrr
My site is 99% done but I can't edit the header for my banner to show up. I've read this message board for a solid week...not counting the 17 hours I spent this weekend trying to figure out why the banner won't work. i've edited head.tpl, the main css file, uploaded banner to skin/images..the photo shows finally after 4 hours of upload errors (the picture is like 71k)..hardly a problem for my host. I see the xcart log and can take it out completely but it won't allow my banner...i've even changed the size to show the banner..and I get most times a outline of the banner...which tells me its not the banner but the frame I allowed for it. This xcart isn't nearly as easy as they make it out to be..the pdf file gives you a general idea but hardly a trouble shooting guide. I'm no slouch when it comes to designing but good grief!! - Is it really needed all the tons of extra photos I didn't even install to clutter my images folder?? I could've designed 2 full ecomm sites with frontpage then this cart so far. I've never seen so much code cluttered together before. Any help would be great as i'm about to get the rope out and hang from the highest tree. Thanks |
Re: can you spare some wisdom for a header
You need to edit skin1/customer/head.tpl
Also 4.2.x is CSS based so make sure your pic is inside the element you want to show it in |
Re: can you spare some wisdom for a header
What CFL said, but in a more concise format...
skin1/customer/head.tpl Open that, near the top you should fine something along the lines of this: <div class="logo"><a href="{$catalogs.customer}/home.php"><img src="{$ImagesDir}/logo.gif" alt="" /></a></div> Make sure the img tag points to the correct one. If you dont see that, check the div as it may be in there. Also, you may need to adjust the width, size, padding and if part of the logo is cut-off make sure that the div or any ones above it in the tree dont have overflow: hidden |
Re: can you spare some wisdom for a header
I edited the file for the 100th time but it still only shows the outline of the photo. Is there anyone of knows enough about this to write step by step instructions? - I've renamed the photo to show xlogo.jpg and it shows in the folder...heck, i'll even hire someone to walk me through the tweaks....anyone?
|
Re: can you spare some wisdom for a header
If your doing this on a site available via the net, you can pm me your website and I can tinker with it client side :)
|
Re: can you spare some wisdom for a header
Put your code in here - how do you call the image? If you can see the outline border of where the image should show then maybe something is wrong with the way you call the image. Spelling error maybe?
|
Re: can you spare some wisdom for a header
The code I was using was :
<img src="{$ImagesDir}/xlogo.jpg"> xlogo being my banner, adding it to file skin1/customer/head.tpl. I didn't replace the whole code, I just inserted xlogo.jpg to replace the xcartlogo |
Re: can you spare some wisdom for a header
Issue was 2 fold.
First, there was a slight mistake in closing the code prematurely and the second was case sensitivity on the file extension. It was looking for xlogo.jpg but the file he uploaded was xlogo.JPG |
Re: can you spare some wisdom for a header
lol, the file name must be exact. Even the file extension. when in doubt copy and past the file name into your code.
|
Re: can you spare some wisdom for a header
Thanks for the helps...hard to image hours of frustration all due because my logo was named like xlogo.JPG and I was only putting in xlogo.jpg in the code...Darn caps gave me fits!
All is well now..now for the next question..i'll post outside here but thanks guys on this problem! |
All times are GMT -8. The time now is 03:26 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.