How to align the language flags horizontally

More
2 years 11 months ago #46704 by Danimeeka
Hi,

My website is situated at www.lmslawyers.com.au/joomla . I have language flags displayed in the 'right' position on most pages. I have set the Language Switcher horizontal display to 'Yes' for both my language flags but the flags continue to be displayed vertically. Is the display:inline code in ../media/mod_languages/css/template.css being overridden somewhere by the template?

Thanks,
Julia.

Please Log in or Create an account to join the conversation.

More
2 years 11 months ago #46705 by milos
Hello,

You should remove module class suffix "_plain" from the language module settings.

Regards,
Milos

Please Log in or Create an account to join the conversation.

More
2 years 11 months ago #46718 by Danimeeka
Thanks, that certainly works.

I am using the module position "right". On the Home page it is in a row of its own on the Sparkly layout builder. On the other pages, to achieve a similar position I had to put it in the same row as Content module, where it appears with a grey background.

Can you tell me how to remove the grey background - can I add an optional module style that I can apply just to the Language Switcher?

Also, can you tell me how to add padding to the top of the flags (all pages) so that they don't sit flush to the top of their module position?

Thankyou again,
Julia.

Please Log in or Create an account to join the conversation.

More
2 years 11 months ago #46719 by milos
Hello,

You can add this in template_css.css file:
.mod-languages {
background:#fff;
}

Thanks,
Milos
The following user(s) said Thank You: Danimeeka

Please Log in or Create an account to join the conversation.

More
2 years 11 months ago #46730 by Danimeeka
Wonderful - thanks Milos!

Please Log in or Create an account to join the conversation.

Moderators: milos
Time to create page: 0.117 seconds