Skip Navigation

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

Problem:
You are experiencing style issues with the language switcher on mobile devices.
Solution:
We have determined that the problem might not be directly related to WPML or the language switcher itself, but rather to how your current theme handles dropdown items in mobile view. We recommend trying one of the following solutions:
1. Change the language switcher style to a horizontal list and disable the display of the current language to save space.
2. If your theme supports it, consider creating a separate header for mobile devices that allows for better customization of elements specifically for mobile users.

Please note that this solution might be outdated or not directly applicable to your case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 2 replies, has 0 voices.

Last updated by Andrey 21 hours, 41 minutes ago.

Assisted by: Andrey.

Author Posts
February 27, 2025 at 11:47 am #16755683

akmaljonU

And I also noticed style issues of language switcher on mobile, is it also possible to fix?

February 27, 2025 at 3:11 pm #16756875

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

I have examined the issue you reported more closely. I believe it is not specifically related to WPML or the language switcher, but rather to your current theme and how it manages the dropdown items for the mobile view.

I suggest considering changing the language switcher style to a horizontal list and disabling the current language (so it does not take up a lot of space). Alternatively, if your theme allows it, you could create a separate header for mobile devices where you can customize the elements specifically for the mobile view.

Languages-‹-wpmlsite-—-WordPress(1).png
February 27, 2025 at 7:14 pm #16757868

akmaljonU

Hello Andrey,
Thank you for your options, I mergin center menu items on mobile and now it looks great.

February 27, 2025 at 7:33 pm #16757978

Andrey
Supporter

Languages: English (English ) Russian (Русский )

Timezone: Europe/Kyiv (GMT+02:00)

I am glad to hear that it works now! Have a nice day.