Skip Navigation

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.

Tagged: 

This topic contains 1 reply, has 2 voices.

Last updated by Mihai Apetrei 8 months ago.

Assisted by: Mihai Apetrei.

Author Posts
August 29, 2023 at 10:41 am #14306179

deanL-2

I'm working on a site that has two languages
1. Chinese
2. English

We use a very nice font that works well with Chinese, but looks terrible in English. We are using Elementor. I wonder if it's possible for us to assign different font for English display?

August 31, 2023 at 6:16 am #14316911

Mihai Apetrei
Supporter

Languages: English (English )

Timezone: Europe/Bucharest (GMT+03:00)

Hi there.

You will need some CSS code to do that.

Example:


html[lang="en-US"] {
 
font-family: Alef !important;
font-size: 24px !Important;
 
}

The code needs to be added in the Appearance > Customizer > Custom CSS area.

Kind regards,
Mihai Apetrei

September 6, 2023 at 4:53 am #14348325

deanL-2

This did the trick! Thank you!

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