Forum Archive - Styling problem

Styling problem
Jan 20, 2012 12:56 pm by LAMF
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
Re: Styling problem
Jan 22, 2012 4:53 pm by Edvard
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.
Re: Styling problem
Feb 8, 2012 3:22 pm by LAMF
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.
Re: Styling problem
Feb 13, 2012 11:45 pm by Edvard
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.
Re: Styling problem
Feb 14, 2012 7:49 am by Yana
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>

SIMILAR TOPICS

Joomshaper Pagebuilder buttons Link edit problemJan 11, 2019 10:04 amReplies: 1Post by: kumatest
Problem with pluginDec 30, 2018 11:59 pmReplies: 1Post by: Iyari
Problem of translation in my websiteDec 8, 2018 12:15 pmReplies: 1Post by: Ibrahim
Styling the DropdownNov 23, 2018 4:18 amReplies: 1Post by: mrlennyman
Problem with qTranslate-x, please help!Aug 22, 2018 9:14 amReplies: 1Post by: sadammkhan

Try GTranslate with a free 15 day trial