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
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 -

Supporter timezone: Europe/Vienna (GMT+01:00)

This topic contains 5 replies, has 1 voice.

Last updated by Lucas Vidal de Andrade 2 days, 14 hours ago.

Assisted by: Lucas Vidal de Andrade.

Author Posts
December 5, 2025 at 6:00 am #17636770

kai-man-kantC

nav ul[class*="menu"] li.wpml-ls-menu-item ul.sub-menu,
nav ul[class*="menu"] li.wpml-ls-menu-item ul.sub-menu li a {
width: auto;
min-width: 30px;
}

I had add css to wpml additional css, not the width of the dropdown menu cannot be shorten.

the website is hidden link

December 5, 2025 at 6:53 am #17636844

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

Thanks for reaching out to us.

While you wait for my colleague to take over the ticket, let me try to help you with the issue in the meantime.

I checked, and it appears this is a standard submenu dropdown from JetMenu. That means the behavior would be the same regardless of what you place inside the dropdown, not only WPML. The following CSS controls the width:

.jet-mega-menu.jet-mega-menu--layout-horizontal .jet-mega-menu-sub-menu {
    position: absolute;
    top: 100%;
    min-width: 200px;
    z-index: 998;
}

You can adjust the min-width to any value you prefer. However, keep in mind that this will affect all submenu items. If you want to target only this specific menu item, you can use its ID: jet-mega-menu-item-wpml-ls-52-en.

Hope this helps.

Regards,
Drazen

December 5, 2025 at 8:32 am #17637106

kai-man-kantC

I had place the css code to wpml, but there is nothing change. You can check with this link
hidden link

螢幕截圖 2025-12-05 下午4.29.08.png
December 5, 2025 at 8:56 am #17637209

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

Hey there,

Please try inserting the CSS on Appearance > Customizer > Additional CSS. Let me know if takes effect when put there.

If not, I'll ask for access to the website. Thank you.

December 7, 2025 at 1:52 pm #17641913

kai-man-kantC

#jet-mega-menu-item-wpml-ls-52-en {
position: absolute;
top: 100%;
min-width: 70px;    
z-index: 998;}

it takes effect, but the dropdown menu is not below the switcher.
hidden link

螢幕截圖 2025-12-07 下午9.51.02.png
December 8, 2025 at 11:05 am #17643497

Lucas Vidal de Andrade
WPML Supporter since 11/2023

Languages: English (English )

Timezone: Europe/Vienna (GMT+01:00)

The switcher shows as expected to me. Check the video:
hidden link

If you are having different results, try clearing all caches, or checking from another browser. Let me know.