This thread is resolved. Here is a description of the problem and solution.
Problem:
The client wanted to make the language switcher in the menu smaller, specifically the dropdown. The issue was that the UberMenu plugin was overriding the default WPML language switcher styling.
Solution:
We recommended adding custom CSS to adjust the size of the dropdown. The client should navigate to the site's backend, go to Appearance > Customize > Custom CSS area, and add the following code:
.ubermenu-wpml-ls-item .ubermenu-submenu-drop {max-width: 70px !important;}
This code reduces the width of the language switcher dropdown. However, due to existing custom CSS from UberMenu, additional custom work might be required to reposition the flag within the dropdown and adjust it to the client's preference. We suggested consulting a front-end developer or a WPML contractor for further assistance, which can be found at https://wpml.org/contractors/.
If this solution does not resolve your issue or seems outdated, 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 at https://wpml.org/forums/forum/english-support/.
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 5 replies, has 0 voices.
Last updated by 4 months, 2 weeks ago.
Assisted by: Mihai Apetrei.