Page 1 of 1

[SOLVED] Pinkcake 1.5 language issue

Posted: Mon Jan 14, 2013 6:54 am
by mjutras
Anyone using theme Pinkcake 1.5 with more than one language?
http://www.opencart.com/index.php?route ... earch=pink
It's working fine with IE8 but not working with Firefox 18 nor Safari 5.1.5
The language flags are displayed but not clickable.

I am not a pro at PHP, which files should I be looking at to fix this?
I've looked at stylesheet.css, header.tpl but couldn't figure it out yet.

Mike

Re: Pinkcake 1.5 language issue

Posted: Mon Jan 14, 2013 1:31 pm
by anung
Open stylesheet.css find this code (on line 107)

Code: Select all

#language {
	position: absolute;
	top: 15px;
	left: 335px;
	width: 75px;
	color: #999;
	line-height: 17px;
}
Put this code

Code: Select all

z-index:9999px;
Result

Code: Select all

#language {
	position: absolute;
	top: 15px;
	left: 335px;
	width: 75px;
	color: #999;
	line-height: 17px;
   z-index:9999;
}

Re: Pinkcake 1.5 language issue

Posted: Mon Jan 14, 2013 8:06 pm
by mjutras
Thanks for the quick response but that didn't fix it, still have the same issue.

Mike

[SOLVED] Re:Pinkcake 1.5 language issue

Posted: Tue Jan 15, 2013 10:59 am
by mjutras
I finely got it to work.
After reading about z-index:9999 I found that position should be relative.
Changing the position to relative made it work but moved the object to the wrong place so I just changed the top and left values.
My code is now like this:

Code: Select all

#language {
	position: relative;
	top: -70px;
	left: 375px;
	width: 75px;
	color: #999;
	line-height: 17px;
	z-index:9999px;
}
I had to move the language object lower, a value of -100 for top brought it back to its original position but somehow disabled it again. It is now a little lower but I actually like it better there.
Tested fine with IE8, Firefox 18 and Safari 5.1.5

Thanks Anung for putting me on the right track.

Mike