Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client was unable to switch languages on a mobile device because the parent item was clickable.

Solution:
Please add the below CSS in the custom CSS section of your theme:

@media(max-width:1024px){
.wpml-ls-current-language{
    cursor: pointer !important;
}
.wpml-ls-current-language > a {
    pointer-events: none !important;
}
}

Dies ist das technische Support-Forum für WPML – das mehrsprachige WordPress-Plugin.

Mitlesen können alle, doch nur WPML-Kunden können hier Fragen veröffentlichen. Das WPML-Team antwortet im Forum an 6 Tagen pro Woche, 22 Stunden am Tag.

Heute stehen keine Supporter zur Arbeit im German-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

Schlagwörter: 

This topic contains 2 Antworten, has 2 Teilnehmer.

Last updated by thomasL-104 Vor 1 Jahr, 7 Monate.

Assisted by: Noman.

Author Artikel
September 7, 2022 um 9:39 pm #12008795

thomasL-104

I have the switcher at the end of the menu, if I switch in mobile and choose to switch, so I click already on english to switch and the first item is clickable the site stays in english

its not possible to choose another language because the first item of the switcher in menu is clickable..how I can desactivate it??

fortalezaproperty.com

September 8, 2022 um 1:43 am #12009307

Noman
Supporter

Languages: Englisch (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Thank you for contacting WPML Support. Can you please follow the below steps and see if this resolves your issue:

1. Please add the below CSS in the custom CSS section of your theme:

@media(max-width:1024px){
.wpml-ls-current-language{
    cursor: pointer !important;
}
.wpml-ls-current-language > a {
    pointer-events: none !important;
}
}

2. Please clear your site and mobile browser cache and let me know how it goes.

Thank you

work fine here now.png
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.