This thread is resolved. Here is a description of the problem and solution.
Problem:
You are using the WPML menu language switcher on your site and want to remove the 'Switch To' text that appears beside the flag in the language switcher.
Solution:
First, check the WPML settings to ensure that the language names are not displayed:
1. Navigate to WPML >> Languages.
2. Scroll down to the Menu Language Switcher section.
3. Click on the Pencil icon.
4. Uncheck the following checkboxes:
- Native language name
- Language name in current language
5. Press the Save button.
If the 'Switch To' text still appears, it might be added by your theme or another plugin. You can hide this text using CSS:
.wpml-ls-item span.fnt-subtitle {<br /> display: none !important;<br />}
Add this CSS to the custom CSS section of your theme.
If this solution does not resolve your issue or seems irrelevant due to updates or differences in your setup, we 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 problem 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.
This topic contains 1 reply, has 0 voices.
Last updated by 2 months, 4 weeks ago.
Assisted by: Noman.