Page 1 of 1

"select your language" text in Language switch

Posted: Wed Jan 17, 2024 11:29 am
by Moskito1234
Screenshot 2024-01-17 at 12-29-43 Benagalbon english.png
I updated my site from Joomla 3.10 to version 4 and than 5. I have a page with 4 languges with flags. Everything is working fine, except after update I have the wording "select the language" above the language flags. This wording is destroing my design. How can I switch the wording "select your language" off? I could not find it....
have a look here: http://benagalbon.com

Re: "select your language" text in Language switch

Posted: Wed Jan 17, 2024 2:24 pm
by pe7er
Welcome to Joomla forum!

Could you check the Language Switcher Module?
System > Site Modules > filter on Type "Language Switcher" >
In the right column it says "Title", is the status Show or Hide?

Re: "select your language" text in Language switch

Posted: Wed Jan 17, 2024 2:36 pm
by Moskito1234
the title is on "hide". If I switch the title on "Show", another title will be shown... I tried this already, but unfortunally this is not the solution

Re: "select your language" text in Language switch

Posted: Wed Jan 17, 2024 2:48 pm
by pe7er
It looks like it's part of the module:

Code: Select all

<div class="u-block-content u-text u-text-2"><div class="mod-languages">
<p class="visually-hidden" id="language_picker_des_100">Sprache auswählen</p>
<ul aria-labelledby="language_picker_des_100" class="mod-languages__list lang-inline">
Could you test your website with another template (e.g with Cassiopeia, Joomla's default template) ?
If it's not there, then it could be caused by a template override for that module.

Re: "select your language" text in Language switch

Posted: Wed Jan 17, 2024 2:53 pm
by imanickam
Reviewed the site and it looks like the css attribute for the class visually-hidden may be be missing from the template's css file.

Also, I noticed that the extension jch_optimize is being used in the site.

Re: "select your language" text in Language switch

Posted: Wed Jan 17, 2024 3:25 pm
by Moskito1234
thanks for your comment. How to add where and what kind of css attribute?

Re: "select your language" text in Language switch

Posted: Wed Jan 17, 2024 4:59 pm
by imanickam
As pe7er suggested please test the site with the template Cassiopeia. You could also review the css in the file template.css that is located in the directory \media\templates\site\cassiopeia.

As for as where to add the css entry, you have to refer the documentation of the template that is being used in your site.