Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Small Red Cross only in IE

Small Red Cross only in IE

Locked

Views: 1,195

Results 1 to 6 of 6
This thread is locked. New replies are disabled.
5 Aug 2007, 2:10 AM
#1
arpeggio avatar

arpeggio

Zen Follower

Join Date:
Dec 2006
Location:
Tokyo, Melbourne, Shanghai
Posts:
102
Plugin Contributions:
0

Small Red Cross only in IE

good morning zenners,

i have always been using FireFox to check my webpage for flow and consistency and everything looks just the way it should be. However opening the page using Internet Explorer (6) i get a strange red cross button located in the top left hand corner. (please refer screenshot or open www.secretsjewellery.com). It is right on the forehead of my model and friend !!!:blush:

It appears on every page and clicking on it revals that it is a "home" button. Could someone please tell me how i can get rid of it?

very much appreciated,
with best regards,
arpeggio

5 Aug 2007, 3:28 AM
#2
jund avatar

jund

Zen Follower

Join Date:
Sep 2006
Location:
Ruckersville, VA, USA
Posts:
276
Plugin Contributions:
0

Re: Small Red Cross only in IE

Arpeggio,

Line 51:<div id="logo"><a href="http://www.secretsjewellery.com/"><img src="includes/templates/jeweltemplate/images/" alt="" /></a></div></div>

Where is your image ref?

<div id="logo"><a href="http://www.secretsjewellery.com/"><img src="includes/templates/jeweltemplate/images/?????.jpg" alt="" /></a></div> </div>

respectfully,
jund

5 Aug 2007, 7:57 AM
#3
arpeggio avatar

arpeggio

Zen Follower

Join Date:
Dec 2006
Location:
Tokyo, Melbourne, Shanghai
Posts:
102
Plugin Contributions:
0

Re: Small Red Cross only in IE

Thank you for this Jund. Do you know in what file i should write in the image name? (My Developers Tool Kit isnt working for some reason?)
Also I dont really have a logo. I incorporated the LOGO in my HEADER.

Is this ok to do and if i were to continue like this how do i stop IE looking for the LOGO as such?

Thank you and many regards,

arpeggio

5 Aug 2007, 3:49 PM
#4
jund avatar

jund

Zen Follower

Join Date:
Sep 2006
Location:
Ruckersville, VA, USA
Posts:
276
Plugin Contributions:
0

Re: Small Red Cross only in IE

arpeggio:

Thank you for this Jund. Do you know in what file i should write in the image name? (My Developers Tool Kit isnt working for some reason?)
Also I dont really have a logo. I incorporated the LOGO in my HEADER.

Is this ok to do and if i were to continue like this how do i stop IE looking for the LOGO as such?

Thank you and many regards,

arpeggio

You are correct... You have incorporated your logo - and it is in the background.

However, on your main page ZEN-CART installs its own logo, which can be removed - or you can leave it in as I did, but change the image name to a transparent image. You place the transparent image in the images folder.

THIS IS HOW YOU CAN DO IT - I am using your path...
It is not important to have access to the ZEN CART admin for this - but you have to have FTP to your host folder...

  1. Create a transparent gif - and name it pixel_trans.gif. It should be 1px by 1px (width="1" height="1"). Put this in the includes/templates/jeweltemplate/images folder.
  2. Modify your home page header template as shown below (in the **tpl_header.php **file).
    I do not like 'removing' the things the ZEN-CART folks put in the header - but you could actually remove the entire branding display area...

<!--bof-branding display--> <div id="logoWrapper"> <div id="logo"><a href="<A href="http://www.secretsjewellery.com/"><img">http://www.secretsjewellery.com/"><img src="**includes/templates/jeweltemplate/images/pixel_trans.gif" alt="" width="1" height="1" />**</a></div> </div> <!--<br class="clearBoth" />--> <!--eof-branding display--> ------------------------------------------------------- There may be other better ways to do this - this is my way (smile). jund
5 Aug 2007, 4:39 PM
#5
arpeggio avatar

arpeggio

Zen Follower

Join Date:
Dec 2006
Location:
Tokyo, Melbourne, Shanghai
Posts:
102
Plugin Contributions:
0

Re: Small Red Cross only in IE

Oh sorry Jund,

I actually found this:http://www.zen-cart.com/forum/showthread.php?t=70970&highlight=logo+missing

before i read ya interesting method posted here. Sounds like a cool trick!!

I just quoted out the code in the tpl_header.php file with <!-- -->.

not as elegant as your method but...

thanks again.

arpeggio:clap:

5 Aug 2007, 6:06 PM
#6
jund avatar

jund

Zen Follower

Join Date:
Sep 2006
Location:
Ruckersville, VA, USA
Posts:
276
Plugin Contributions:
0

Re: Small Red Cross only in IE

arpeggio,

You done GOOD! It's always best when you are able to fix it yourself.
Using the <!-- --> is the best approach. When you use this approach you can also include a one-liner within the same brackets that keeps track of the change, because later you may not remember... e.g. <!-- this change was made to remove the red x 08052007 <div id="logo"><a href="<A href="http://www.secretsjewellery.com/"><img">http://www.secretsjewellery.com/"><img src="includes/templates/jeweltemplate/images/" alt="" /></a></div>-->

</div>

On the other side of the coin, the upside of doing it the other way (without the comment out brackets) is you can still include information in the alt portion of the link - e.g., alt="Secrets Jewellery, Wholesaling a World of Jewellery"...
This is quoted directly from your title - Search Engines look for alt="your information here" and improves your SEO... especially if you match the title info or other meta info in the head area...

Congratulations on your success.

By the way - the Mac browser Safari now works in Windows - it also reveals the issue with a ? in blue...

jund