WordPress.org

Make WordPress Core

Opened 8 weeks ago

Last modified 8 weeks ago

#48800 new feature request

Twenty Twenty: Conditional loading of language/locale specific css and php files

Reported by: ianbelanger Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.3
Component: Bundled Theme Keywords: 2nd-opinion
Focuses: Cc:
PR Number:

Description

First reported on GitHub by @nukaga

https://github.com/WordPress/twentytwenty/issues/970

In the current site design, the title is too large in Japanese and Chinese.
The center alignment is also extraordinary.

https://github.com/WordPress/twentytwenty/issues/118#issuecomment-541292567
https://github.com/WordPress/twentytwenty/issues/118#issuecomment-538964579

Solution
Is it possible to separate the title and body CSS in several languages?

Change History (1)

#1 in reply to: ↑ description @SergeyBiryukov
8 weeks ago

Replying to ianbelanger:

Is it possible to separate the title and body CSS in several languages?

It is possible, see the Typography section in Twenty Seventeen for example.

It is also possible to disable specific Google fonts for specific locales, see twentyseventeen_fonts_url() for example.

However, we should be careful not to create excessively verbose CSS, see #47925 and #45731 for Twenty Nineteen.

Note: See TracTickets for help on using tickets.