• I have built a site in both English and Chinese. I specified the English fonts for the headers and body texts, the Chinese ones are not. The result is the Chinese text is not displaying properly. Is there a way to specify a font for the English and another font for the Chinese?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello cindyho,

    If you are using the multi-site multilingual then by using the If condition after checking the site language like below:

    <? if(get_language_code()=='EN'){?>
    <style>
    //Add your font code here
    </style>
    
    <?php } ?>
    
    for  Chinese :
    
     <? if(get_language_code()=='CN'){?>
    <style>
    //Add your font code here
    </style>
    
    <?php } ?>

    Thanks

    Thread Starter Cindy

    (@cindyho)

    Thanks. But what do you mean by multi-site multilingual. I have pages in English and equivalent pages in Chinese. I don’t need translation, the ability to specify Chinese font along with the English ones. On the Chinese pages, I see punctuation crashing into the texts and sometimes missing even though they look fine in the WP editor, so I suspect it’s a font issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Can I specify a font for English and another font for Chinese?’ is closed to new replies.