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 Itamar 5 months, 2 weeks ago.

Assigned support staff: Itamar.

Author Posts
May 4, 2019 at 1:53 pm #3740393

pascalP-15

I am trying to: change the language switcher letter to uppercase with css

Link to a page where the issue can be seen:

I expected to see:ENGLISH

Instead, I got:english

I have put the recomended rule in WPML > languages > Language switcher options
li.wpml-ls-menu-item ul li a {text-transform: uppercase;}
but nothing has changed.
Thanks for your help

May 5, 2019 at 5:11 pm #3743565

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi.

You CSS code is wrong. You can should write it like this.

li.wpml-ls-menu-item a span{text-transform: uppercase;}

Or you can even simplify it like this.

span.wpml-ls-display{text-transform: uppercase;}

Please let me know if thisi nformation is helpful to you.

Regards,
Itamar.

The topic ‘[Closed] language switcher css not displayed’ is closed to new replies.