Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
I'm using the Custom language switcher and use the shortcode in Elementor. I just want to highlight the chosen/current language to be in Bold, so it's obvious which language is the current.

Solution:
Please try the following CSS:

.wpml-ls-current-language {
    font-weight: bold;
}

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 2 replies, has 2 voices.

Last updated by henrikL-12 1 year, 10 months ago.

Assisted by: Mohamed Sayed.

Author Posts
June 28, 2022 at 11:28 am #11559035

henrikL-12

I'm using the Custom language switcher, and uses the shortcode in Elementor.
Everything works fine, with one exception:
I can't emphasize which language is the current language. Every language look alike in the menu, so it's not clear which language is chosen now.

I just want to highlight the chosen/current language to be in Bold, so it's obvious which language is the current.

Languages-‹-Comadan-midlertidigt-—-WordPress.png
June 28, 2022 at 3:14 pm #11560901

Mohamed Sayed

Hi Henrik,
Thanks for contacting WPML support.

Please try the following CSS:

.wpml-ls-current-language {
    font-weight: bold;
}

Let me know please if that helps.

Regards,
Mohamed

June 28, 2022 at 3:19 pm #11560925

henrikL-12

Yes - that did it 🙂 Thank you for, as allways, very good support.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.