This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing an issue where the language switcher flags are misaligned horizontally on their website when the main language is selected. This misalignment occurs after adding the Language Switcher to the Site Editor navigation.
Solution:
We recommend applying the following CSS to address the flag alignment issue:
.wp-block-navigation .wpml-language-switcher-navigation-block ul.horizontal-list li {<br /> display: contents;<br />}
If this solution does not resolve the issue or seems irrelevant due to updates or different configurations, 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. Additionally, if the problem persists, please open a new support ticket at WPML support forum for further assistance.
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.