System Font Stack in Oxygen

Looking to use system fonts instead of the default Google fonts in Oxygen?

Here’s how.

Step 1

At Oxygen > Settings > Bloat Eliminator tick Disable Google Fonts and save changes.

Step 2

In the Oxygen editor create a new Stylesheet at Manage > Stylesheets and add:

body, button, input, select, textarea,
h1, h2, h3, h4, h5, h6 {
	font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
}

Posted

in

,

by

Tags:

Comments

2 responses to “System Font Stack in Oxygen”

  1. touchdowntech Avatar
    touchdowntech

    Why is a stylesheet required if the font is within the system? I always disable Google Fonts but I have never added a stylesheet for system fonts.

    1. Sridhar Katakam Avatar
      Sridhar Katakam

      The CSS in step 2 is to tell Oxygen to use the system fonts for the specified elements. I tested and wrote this for a default Atomic design set install of Oxygen. The CSS need not be added inside the Oxygen editor and can also instead be added in the WordPress Customizer’s Additional CSS section.

Leave a Reply to Sridhar Katakam Cancel reply

Your email address will not be published. Required fields are marked *