System Fonts

Description

Installation

  1. Upload the plugin files to the /wp-content/plugins/system-fonts directory, or install the plugin through the WordPress plugins screen.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

Usage example

The Twenty Seventeen themes uses this css selector for the body text:

body, button, input, select, textarea {
  font-family: "Libre Franklin", "Helvetica Neue", helvetica, arial, sans-serif;
}

We are going to replace it with the default system font.
In you WordPress site, go to Appearance > Customize > Additional CSS and paste this code

body, button, input, select, textarea {
  font-family: system-ui;
}

Appart from them font-family, there are other font-properties available:
* font-style: normal or italic;
* font-weight: 300 (light), 400 (regular), 500 (medium), 700 (bold);

For example this is the code make an element’s text semibold and cursive:

my-element {

font-family: system-ui;
font-weight: 500;
font-style: italic;
}

Contributors & Developers

“System Fonts” is open source software. The following people have contributed to this plugin.

Contributors

“System Fonts” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “System Fonts” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.