Pre-text in login box

Business template for Joomla 3 and 2.5 ideal to create blog or personal website.
GK User
Mon Apr 01, 2013 2:35 pm
The pre-text in the login box does not appear correctly in my language (Swedish). Following an advice on another thread, I overrode the following language string in en-GB.tpl_gk_the_real_design.ini:

TPL_GK_LANG_LOG_IN

Now I have two questions:
- The Swedish umlaut characters don’t work (åäö) since the file is for the English language. How can I get this to work?
- How/where can I change the styling of the pre-text from h4 to p? The text is hard to read right now.

You can see my site here.

Grateful for your assistance.
User avatar
Fresh Boarder

teitbite
Mon Apr 01, 2013 3:21 pm
Hi

Special characters are all about file codding which not every editor got an option to set. In this case it will be easier to delete the TPL_GK_LANG_LOG_IN from laguage file entirely and make it again in joomla language override in joomla settings.
User avatar
Moderator

GK User
Mon Apr 01, 2013 5:58 pm
Thanks for your fast reply! Worked perfectly, too.

But I can't find a way to change the pre-text from <h4> to <p>. Styling in Joomla language override is stripped out.

Any suggestions?
User avatar
Fresh Boarder

teitbite
Tue Apr 02, 2013 6:05 pm
Hi

To change this You will have to directly edit a code file in /html/mod_login I think. But aren't language file accepting html tags ?
User avatar
Moderator

GK User
Tue Apr 02, 2013 9:15 pm
I tried various things – changed the php-file in mod_login, but I believe it will be overridden by a template update? I tried again to change the style by using html in the language override file, but the element is wrapped in h4 tags.

In the end, I changed the styling of the h4 tag in override.css, as it seemed the easiest option. And it worked just fine!

Thanks again for your help and advice!
User avatar
Fresh Boarder

teitbite
Wed Apr 03, 2013 8:49 pm
Hi

Och. I thought You are looking to replace the text with a different one and not just style :) Sorry for this misunderstanding, I would point You to a css modification a lot sooner.
User avatar
Moderator


cron