Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 7:00 – 12:00 -
- 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 13:00 – 16:00 -

Supporter timezone: America/Sao_Paulo (GMT-03:00)

This topic contains 6 replies, has 0 voices.

Last updated by Lucas Vidal de Andrade 8 hours, 16 minutes ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
July 23, 2025 at 4:23 pm #17264845

simonL-29

Background of the issue:
I am trying to fix the width of the Menu dropdown on my website hidden link. The dropdown is too wide, and I am experiencing issues with it on both desktop and mobile versions.

Symptoms:
The Menu dropdown is too wide on both desktop and mobile versions. Screenshots of the issue are provided: hidden link and hidden link.

Questions:
I need a solution so that the width of the dropdown is not so wide, but has a suitable width and in the case of the mobile version, it still looks good.

July 23, 2025 at 8:05 pm #17265514

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hello there,

Language Switchers can be customized with CSS. You can check more details here:
https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/how-to-fix-styling-and-css-issues-for-the-language-switchers/

Please check example #5, as it shows how to deal with the width.

July 23, 2025 at 8:59 pm #17265594

simonL-29

Hello,

Thanks for the suggestion, however, while you were replying, I have been researching and I have already used option #5 that you indicate but it does not work for me.

So if you could kindly point me to another option, as I am confused, as I have other clients using WPML and so far it has worked fine.

Thanks

July 24, 2025 at 12:48 pm #17267527

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

I checked the source-code of your home page and it seems your theme has rules setting the width of the menu which might not be able to be overwritten. To confirm, I'd like to check that directly on your website. For this I would need temporary access (WP-Admin and FTP) to your site, preferably to a test/staging site where the problem has been replicated if possible.

The required fields can be found below the comments section. The information you enter is private, i.e. only you and I can see it and have access to it.

I may need to replicate your website locally. To do this, I need to temporarily install a plugin called "Duplicator" or "All in One WP Migration" on your website. This will allow me to create a copy of your website and content. Once the issue is resolved, I will delete the local website. Let me know if this works for you.

IMPORTANT

Please make a backup copy of the site files and database before giving us access.

- If you do not see the wp-admin/FTP fields, this means your post and site login details are being made PUBLIC. DO NOT post your website details if you do not see the required wp-admin/FTP fields. If you do not, ask me to enable the private box. The private box looks like this:

hidden link

July 24, 2025 at 8:36 pm #17269225

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

There was custom code on your website overwriting the WPML default options, that's why it was so large. I've corrected it for you.

If you wish to adjust it, you can tweak the width in Divi > Theme Options > Custom CSS, on line 24, as shown in the image, by changing the width from 60px to other values.

Please note that the creation and maintenance of custom code is completely out of the scope of our support, but since your request was a simple one, I made an exception 🙂

Theme-Optionen _ GT TRADING _ WordPress.jpeg
July 24, 2025 at 9:17 pm #17269295

simonL-29

Hello,

Thank you for your help in resolving this issue.

I still have one question. If I use the incognito window in Chrome and open the page there, I still see the dropdown menu in the English version, but it looks fine in the German version.

I am sending you a screenshot.

Best regards and thank you for taking the trouble with the custom code.

Screenshot 2025-07-24 at 3.14.41 PM.png
Screenshot 2025-07-24 at 3.14.58 PM.png
July 25, 2025 at 12:49 pm #17271108

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English ) Spanish (Español ) German (Deutsch ) Portuguese (Brazil) (Português )

Timezone: America/Sao_Paulo (GMT-03:00)

Hey there,

It was apparently a caching issue. I emptied all caches and the changes were reflected as expected.