Change width WPML dropdown menu

Hi,

How can I change the width of the language selector dropdown in my menu on desktop?

It’s too wide for the moment and gets alligned too much to the right of the parent language.

Hi There,

Thanks for writing in and details!

The width is due to the submenu style which is normal for al item. To change it please add this CSS to your Theme Option -> Global CSS.

.wpml-ls-slot-36 ul.sub-menu {
 min-width: 95px !important;
padding: 5px !important;
}
.wpml-ls-slot-36 ul.sub-menu li a {
padding: 5px !important;
}

hope this helps!

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.