Post by mjutras » Mon Jan 14, 2013 6:54 am

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
Last edited by mjutras on Tue Jan 15, 2013 11:18 am, edited 1 time in total.

New member

Posts

Joined
Sun Jan 13, 2013 12:28 am

Post by anung » Mon Jan 14, 2013 1:31 pm

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;
}

User avatar
Active Member

Posts

Joined
Fri Mar 30, 2012 10:32 am
Location - Indonesia

Post by mjutras » Mon Jan 14, 2013 8:06 pm

Thanks for the quick response but that didn't fix it, still have the same issue.

Mike

New member

Posts

Joined
Sun Jan 13, 2013 12:28 am

Post by mjutras » Tue Jan 15, 2013 10:59 am

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

New member

Posts

Joined
Sun Jan 13, 2013 12:28 am
Who is online

Users browsing this forum: No registered users and 30 guests