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 topic contains 1 reply, has 2 voices.

Last updated by Riffaz 1 year, 2 months ago.

Assigned support staff: Riffaz.

Author Posts
March 7, 2019 at 3:49 pm #3285502



I am trying to edit the css of the language switcher that I added in the header menu as a dropdown.

I want to edit the dropdown width, I want to make it smaller. But once I try to do it in the theme style.css the file is just empty. It just has comments, it doesn't have code.

Can you help me correct this?
Link to a page where the issue can be seen:
hidden link

March 7, 2019 at 4:07 pm #3285679


Languages: English (English )

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


Thank you for contacting WPML support.

Could you please disable WPML and add some css code there and check the issue?
If you see still the code disappears even after you disable the WPML you have to check it with your theme or other facts that cause this.

Anyhow, you can simply add the CSS code for language switcher in WPML > Languages > Language Switcher Options > Additional CSS : hidden link

Hope that helps.