This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing issues with the language switcher not being centered in the menu and the flag and country name not aligning when you drop down to choose another language,
Solution:
We recommend you try adding the following custom CSS code to your site. You can insert this code by navigating to WP > Appearance > Customize > Additional CSS:
.wpml-ls-first-item {<br /> padding-top:11px!important;<br /> color:#fff;<br />}.nav-item .dropdown-item span {<br /> display: inline;<br />}Please note that this solution might be irrelevant if it's outdated or not 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.
This topic is split from https://wpml.org/forums/topic/split-weird-content-showing-up-when-i-hover-over-the-flag-image-in-the-language-switcher/
