Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #673059

    Hi,
    My website need to add the second language, the main language is English and another one is Chinese.
    If I use the default font style for the Chinese page, the font looks not very well.
    So, how can I assign the second language with new font style by css?
    Thanks a lot.

    #673441

    Hey bao920511,

    Thanks for getting in touch with us!

    Would you mind providing a precise link to your site, showing the elements in question? We need to be able to inspect them in order to help :)

    Best regards,
    Jordan

    #673456

    Hi,

    Sorry, I just prepared to modify my website on local server, so I’ve no idea how to let you access it.
    But I just google and try to find the solutions, and I found the css code as below
    :lang(zh) { font-family: “微软雅黑”, “Microsoft yahei”, Tahoma , Verdana , Arial , sans-serif; }

    Is it suitable for the theme? or Could you provide any other ways to improve it?
    Thanks a lot.

    #675067

    Hi,

    You can use the following:

    html[lang='zh-cn'] body {
        font-family: serif;
    }

    Best regards,
    Josue

    #677478

    Thank you very much!

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘How to assign new font style for the second language?’ is closed to new replies.