Comments (3)
@March-happy - Astra by default offers System and Google fonts. You can read more about this in this article.
Did you want to suggest us to add some Chinese fonts built in? Could you name a few? Is there any other theme which has done this, just so I can take a reference and understand this better?
Other issue about style.css - could you please elaborate? Are you using a Child theme?
from astra.
I know that but Google Fonts' service is unstable in China Mainland. So I suggest that Astra adds Chinese font families built-in.
I am not using Astra Child. Only found copyright statement in style.css. Is it caused by the plugin WP Super Cache I am using?
In Chinese there are four font families that can be found on every computer (including Linux):
黑体(Hei),楷体(Kai),宋体(Song),仿宋(Fang Song)
And there is someone made the CSS before (GitHub Repo Link,Final CSS) You can see the DEMO.
/*!
* Fonts.css -- Cross-platform Chinese fonts solution
*
* Copyright (C) 2013-2015 Zeno Zeng
* Released under the MIT license
*
* Github: https://github.com/zenozeng/fonts.css
*/
.font-hei {font-family: -apple-system, "Helvetica Neue", Helvetica, "Nimbus Sans L", Arial, "Liberation Sans", "PingFang SC", "Hiragino Sans GB", "Source Han Sans CN", "Source Han Sans SC", "Microsoft YaHei", "Wenquanyi Micro Hei", "WenQuanYi Zen Hei", "ST Heiti", SimHei, "WenQuanYi Zen Hei Sharp", sans-serif;}
.font-kai {font-family: Baskerville, Georgia, "Liberation Serif", "Kaiti SC", STKaiti, "AR PL UKai CN", "AR PL UKai HK", "AR PL UKai TW", "AR PL UKai TW MBE", "AR PL KaitiM GB", KaiTi, KaiTi_GB2312, DFKai-SB, "TW\-Kai", serif;}
.font-song {font-family: Georgia, "Nimbus Roman No9 L", "Songti SC", STSong, "AR PL New Sung", "AR PL SungtiL GB", NSimSun, SimSun, "TW\-Sung", "WenQuanYi Bitmap Song", "AR PL UMing CN", "AR PL UMing HK", "AR PL UMing TW", "AR PL UMing TW MBE", PMingLiU, MingLiU, serif;}
.font-fang-song {font-family: Baskerville, "Times New Roman", "Liberation Serif", STFangsong, FangSong, FangSong_GB2312, "CWTEX\-F", serif;}
from astra.
Thanks for suggesting Fonts. We will try and include that CSS / support for Chinese Fonts in future release of Astra.
As for the CSS, I think it must be caused by the cache plugin. You may deactivate cache (and other plugins) temporarily and take a look.
from astra.
Related Issues (20)
- Customizer Preview does not use Link colors for Headlines HOT 1
- Query Loop Block Padding broken in Post Layout
- Related Posts Section has unwanted padding HOT 1
- Search Background now white HOT 6
- [Regression] List alignment wrong on frontend HOT 4
- Post Top-Padding not working at all HOT 4
- List-Block text color not visible in Editor HOT 1
- Compatibility with most popular plugin WPForms, User Registration, Everest Forms Preview mode HOT 4
- Restoring Group blocks's inner container buggy with non-div Group blocks
- Display user menu "ast-header-account-wrap" in the header on click
- How to Solve Sub-Menu Accessibility Issues in Astra Theme HOT 2
- Missing form fields on BuddyPress registration page with Astra >=4.1.0 HOT 2
- Woocommerce '+' and '-' missing on single product pages after update HOT 2
- cart always empty HOT 6
- Cumulative Layout Shift due to header jumping
- Quantity plus/minus buttons change event not working on AJAX add to cart buttons HOT 3
- After updating Astra theme to latest version site went down! HOT 1
- PHP 8.2 Compatibility Issue - Site Crash HOT 7
- Use asynchronous HTTP calls to test cron
- Sale notification bubble goes outside of container box HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from astra.