Styling problem

Popular automatic website translation tool

Styling problem

Postby LAMF » Fri Jan 20, 2012 4:56 pm

I have a site where the GTranslate makes the h1 headers to move out from the standard styling.
I have tried to set up a module class-suffix in the module settings and made a rule to solve this but it wont work...

Here's the URL: http://www.lmiab.se/

Open the page and then click the english flag now you can see the header h1 (Welcome to LMI AB) will move up like 10 pixels.

If someone has a solution to this I would be very happy.

BR
Micke
LAMF
 
Posts: 37
Joined: Wed Feb 16, 2011 12:16 pm

Re: Styling problem

Postby Edvard » Sun Jan 22, 2012 8:53 pm

Hi,

I have checked your source code with validator: http://validator.w3.org/check?uri=http% ... ne&group=0

and it seems that you have an invalid character before: <h1 class="contentheading_startsida">...</h1>

If you fix that it will help you to fix your template.
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4184
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: Styling problem

Postby LAMF » Wed Feb 08, 2012 7:22 pm

Strange, when I use the validator I don't see that particular problem.
I have tried to set a module class-suffix in the Module management but it has no effect on the output.
I'm still stuck with this problem.
It seems like GTranslate pushes the header 20 pixels up under the content rotator somehow.
LAMF
 
Posts: 37
Joined: Wed Feb 16, 2011 12:16 pm

Re: Styling problem

Postby Edvard » Tue Feb 14, 2012 3:45 am

Hi,

I think I know what it is... Please check what characters do you have between <div id="main-content65"> and <div id="page"> in your source code. I think that there is some sort of non visible space which make all the trouble. If possible just try to make it so the source code will be <div id="main-content65"><div id="page"> without any space or new line between to be on a safe side.
Regards,

Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Edvard
Site Admin
 
Posts: 4184
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

Re: Styling problem

Postby Yana » Tue Feb 14, 2012 11:49 am

Just remove "class" attribute from <h1> tag. I tried with firebug and it works.

<h1 class="contentheading_startsida"> Welcome to LMI AB</h1>

<h1> Welcome to LMI AB</h1>
Regards,

Yana Ghahramanyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Yana
 
Posts: 4135
Joined: Thu Jan 12, 2012 6:21 pm


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests

2GLux