-
AuthorPosts
-
timtecsa Friend
timtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
June 27, 2016 at 11:15 am #944555I’m developing a site with English and Chinese (both Traditional and Simplified). I would like to choose different fonts for each language with global setup. Any ideas ?
timtecsa Friendtimtecsa
- Join date:
- October 2009
- Posts:
- 1382
- Downloads:
- 86
- Uploads:
- 327
- Thanks:
- 197
- Thanked:
- 132 times in 34 posts
June 28, 2016 at 3:24 pm #944952The question partly arises from the weight difference that is evident between Chinese Simplified and Traditional as seen on screenshots below. http://gpmnews.com/aop2/index.php/zh-cn/news-awards
-
Ninja Lead Moderator
Ninja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
June 29, 2016 at 7:29 am #945333Hi Tim,
In this case, you need to make a custom the style under English and Chinese languages
-
English language works by default
- Chinese language works as my custom work below
Create templates/ja_sugite/css/custom_language.css file and add new rule
body { font-family: Helvetica, "Microsoft YaHei New","Microsoft Yahei","微软雅黑",宋体,SimSun,STXihei,"华文细黑",sans-serif !important; }
Open templates/ja_sugite/tpls/blocks/head.php file and add code as my screenshot
<?php if ($this->language !='en-gb') { $this->addStyleSheet(T3_TEMPLATE_URL . '/css/custom_language.css'); } ?>
Hope it helps
Regards
AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 2 replies, has 2 voices, and was last updated by Ninja Lead 8 years, 4 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum