WPML language selector width problem in Pro header

Hi,

I add the wpml language switcher to the menu with flags only, the menu items are very large.

I looked this thread and this but unfortunately that doesn’t work for me. Maybe the PRO theme css is overwriting something?

My website is www.padsworld.com

Thanks!

Hello There,

Thanks for writing in! This happens because there is a default width of the submenus. If you want to reduce the width of the WPML submenu, please add this css code in the custom css section in your header builder.

.wpml-ls-item .sub-menu.x-dropdown {
    width: 75px;
}

We would loved to know if this has work for you. Thank you.

That’s perfect, thank you very much!

Hi @lonerzero,

Happy to hear that.

Feel free to ask us again.

Thanks.

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