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 thread is resolved. Here is a description of the problem and solution.

This topic contains 2 replies, has 2 voices.

Last updated by LukaszA 2 weeks, 1 day ago.

Assigned support staff: Riffaz.

Author Posts
October 6, 2019 at 8:57 pm #4703305
LukaszA

I have 2 problems:

1. Language switcher in menu (after dropdown) is too wide. I tried 15 different css codes from past topics about this problem and nothing seems to work. You can see the problem in attached ss.

There is a possibility that the switcher will be moved to widget area so if you provide me with code please also provide the one for widget area (if one wont solve both places).

October 7, 2019 at 5:14 am #4704197

Riffaz
Supporter

Languages: English (English )

Timezone: Asia/Colombo (GMT+05:30)

Hi,

Thank you for contacting WPML support.

Pleased use this code:

.drop_down .narrow .second .inner ul li {
    padding: 0;
    width: 120px;
}

For the second question please follow: https://wpml.org/forums/topic/split-language-switcher-dropdown-too-wide-also-show-only-flag-for-active-language/

Regards,
Riffaz.

October 7, 2019 at 3:30 pm #4708929

LukaszA

Didn't work when added to "additional css" in WPML options but worked when I added it to my theme css 🙂

Thanks for help!