Zen Cart Logo
If this is your first visit, check our documentation. To post, register or login.
Forums / General Questions / General Questions / z-index on corner of trust logo is too low

z-index on corner of trust logo is too low

Locked

Started by jmcgov on 28 Jun 2008, 2:50 AM · Views: 2,165

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
28 Jun 2008, 2:50 AM
#1
jmcgov avatar

jmcgov

New Zenner

Join Date:
Oct 2007
Posts:
31
Plugin Contributions:
0

Post #1 by jmcgov

I just noticed checking out the site on my fiance's Mac that the z-index is too low for the comodo corner of trust. Apparently it is only a Mac issue (I hope). I only have PC boxes, if someone is running a linux box maybe if they would let me know if it is the same there. For some reason it appears to be OS based rather than browser based. Checks fine on FF, IE, Safari and Opera on PC. But on Mac same browsers show the logo below the page.

Ok now that I have described the situation .... Here is the problem.
The z-index for the logo is 100, I have learned enough through the help I have receieved here that I need to raise the z-index. unfortunately I haven't learned enough to figure out WHERE to raise the z-index lol.

I checked the developer toolkit and it was no joy. I couldn't find any reference to z-index. Maybe one of these days I will learn enough to call myself a "l33t h4xor" lol.... Until then, Please help lol

Thank you and again if someone with a linux box would check this also I would be greatly appreciative.

WARNING: This is a lingerie site. Same as you would see in any other shop. Just don't want to cause anyone grief if they are at work.

url ** http://pipersparlor.com**

Thank you,
Jim

28 Jun 2008, 12:16 PM
#2
jmcgov avatar

jmcgov

New Zenner

Join Date:
Oct 2007
Posts:
31
Plugin Contributions:
0

Post #2 by jmcgov

Wanted to post a clarification,
On a Windows box it looks fine, it's on a Mac that I noticed the problem. I'm not sure if it is the same on a Linux machine.

The thing that has me stumped other than where to find the z-index to adjust it (if that truly is the problem), is why it appears to be different in regards to operating system rather than browser.

Just wanted to make sure I was clear, I was tired last night when I typed that and I'm afraid my dry sense of humor may have confused the issue.

Thank you again,
Jim

28 Jun 2008, 12:51 PM
#3
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Post #3 by stevesh

I only have Windows boxes, so I can't confirm the problem - although I don't see the 'Corner of Trust' (makes me think of the 'cone of silence') in FF2 -I do see it in IE7.

The only place I've used or seen z-index is in CSS, and there are none in any of your stylesheets, so it may be you've diagnosed this incorrectly.

28 Jun 2008, 1:19 PM
#4
jmcgov avatar

jmcgov

New Zenner

Join Date:
Oct 2007
Posts:
31
Plugin Contributions:
0

Post #4 by jmcgov

It's entirely possible I did diagnose it wrong. It's behaving as if it was the z-index, on the mac you can see it but it appears below the other items, so I assumed that's what it was. (However, we all know what assuming does :oops:)

I upgraded to FF3 it is appearing there,at least on my comp. Before I did I was still able to see it with FF2 also. I've also dumped the cache and flushed dns so I don't think it is calling it from memory.

This one has me stumped.

28 Jun 2008, 1:34 PM
#5
jmcgov avatar

jmcgov

New Zenner

Join Date:
Oct 2007
Posts:
31
Plugin Contributions:
0

Post #5 by jmcgov

This is the code from DOM inspector that made me think it was z-index

//<![CDATA[ var cot_loc0=(window.location.protocol == "https:")? "https://secure.comodo.net/trustlogo/javascript/cot.js" : "http://www.trustlogo.com/trustlogo/javascript/cot.js"; document.writeln('<scr' + 'ipt language="JavaScript" src="'+cot_loc0+'" type="text\/javascript">' + '<\/scr' + 'ipt>'); //]]>
</script><script language="JavaScript" src="http://www.trustlogo.com/trustlogo/javascript/cot.js" type="text/javascript"></script><style type="text/css">* html {background:url(http://www.trustlogo.com/images/cot_bgf0.gif) fixed;background-repeat: repeat;background-position: right bottom;}#cot_tl_fixed{position:fixed;_position:absolute;bottom:0px;right:0px;clip:rect(0 100 85 0);_top:expression(document.documentElement.scrollTop+document.documentElement.clientHeight-this.clientHeight);_left:expression(document.documentElement.scrollLeft + document.documentElement.clientWidth - offsetWidth);}#cot_tl_pop {background-color: transparent;position:fixed;_position:absolute;height:194px;width: 244px;right: 120px;bottom: 20px;overflow: hidden;visibility: hidden;z-index: 100;_top:expression(document.documentElement.scrollTop-20+document.documentElement.clientHeight-this.clientHeight);}</style>

28 Jun 2008, 1:45 PM
#6
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Post #6 by merlinpa1969

the only issue with changing the zindex is that it will then be too hight for all other OS

Zen cart PCI compliant Hosting

28 Jun 2008, 2:09 PM
#7
barco57 avatar

barco57

Totally Zenned

Join Date:
Apr 2006
Location:
West Salem, IL
Posts:
2,846
Plugin Contributions:
0

Post #7 by barco57

The z-index is set in the javascript from the comodo server. You may be able to override the z-index by adding to the stylesheet the following:

#cot_tl_pop {z-index: 1000;}

If that doesn't work you could try adding !important to the rule....

#cot_tl_pop {z-index: 1000 !important;}

If that doesn't work I'm out of ideas

Mike
AEIIA - Zen Cart Certified & PCI Compliant Hosting
The Zen Cart Forum...Better than a monitor covered with post-it notes!

28 Jun 2008, 4:18 PM
#8
jmcgov avatar

jmcgov

New Zenner

Join Date:
Oct 2007
Posts:
31
Plugin Contributions:
0

Post #8 by jmcgov

Neither of those worked, I also noticed that on the mac the subscribe button for the newsletter is out of place.

I had modified the stylesheet to center the text for that mod, I can't see how that would effect the other but just putting it out there.