<b>Background of the issue: </b>
I am trying to see the language switcher in the header. Before, there was a language switcher in the header, and it worked well, but suddenly it disappeared. Link to a page where the issue can be seen: hidden link
<b>Symptoms: </b>
The header language switcher suddenly disappeared. Instead of the language switcher, there is just an empty spot.
<b>Questions: </b>
Why did the language switcher in the header disappear?
How can I restore the language switcher in the header?
Thank you for contacting WPML Support. After examining the source code of that section, I found that the language switcher is currently hidden on desktop but visible on mobile.
To resolve this, please try one of the following:
1. Remove the desktop-link-hide class from the language switcher, as shown in the attached screenshot.
2. Alternatively, add the following CSS to the theme’s custom CSS section:
Glad to hear the switcher is back by overriding the CSS.
WPML doesn’t add the desktop-link-hide class, so it’s likely coming from your theme or another plugin. You might want to check your header settings where the language switcher was added to see if there’s an option controlling its visibility on desktop.
If you’re unable to locate this setting, it may be helpful to contact the theme author for guidance. Alternatively, if you’d like me to investigate further, I can check the issue in a minimal environment by deactivating all plugins except WPML to pinpoint the source.
Let me know how you’d like to proceed!
Thank you for your cooperation
The topic ‘[Closed] The header language switcher suddenly disappeared’ is closed to new replies.