Post by maya » Fri Apr 06, 2012 1:04 am

Hello everyone,
I'm working on localhost with my shop and this is the first thing I have stuck. 1.5.2.2.r990.
When switching between languages the height of page is different. I have no idea when and how this has happen
but if you can point me where should I check for the fix that would be great. Look's like main container is lowered on one language or moved to the top on another.
Image
Image

Thank you

User avatar
Newbie

Posts

Joined
Sat Feb 18, 2012 1:46 am
Location - London

Post by Avvici » Fri Apr 06, 2012 1:49 am

This is because different languages are going to display different letter sizes this making the words either longer, shorter, or even paragraphs will shrink OR get larger :)
Solution: Use your CSS to set HEIGHTS on div elements. Normally no one in their right mind would ever recommend that but It would fix your problem. You could even figure out the min-height for all of your languages and set that for the main containers.

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by maya » Fri Apr 06, 2012 3:46 am

Thank you for the answer. I do not think that I will able to do it myself but I will try to use google for the info you gave me.
I'm still on learning process about php, css ...
Is not that for both languages there is one stylesheet.css file? How can this be separated for editing one ?

At this moment it's not that big problem but definitely it is on my 'to_do' list.
;-)

User avatar
Newbie

Posts

Joined
Sat Feb 18, 2012 1:46 am
Location - London

Post by maya » Sun May 27, 2012 12:23 am

I have found solution for this problem. Some of the files from folder: ../catalog/language/polish/module/*.php
have not been converted to 'UTF-8 without BOM'. After quick convert everything is nice now.

:D

User avatar
Newbie

Posts

Joined
Sat Feb 18, 2012 1:46 am
Location - London
Who is online

Users browsing this forum: Amazon [Bot] and 19 guests