Black Friday30% off your first year of PixeBuilder Pro with code 30% off Pro, first year
· Ends Tue 1 Dec, 23:59 UTC ends 1 Dec, 23:59 UTC

See plans
main-logo
PixeBuilder Typo Preset and System Colors screens with the headline Set fonts and colors once: free.

Tired of pasting the same hex code into every button and picking the same font on every heading? This guide shows you how to set global fonts and colors in WordPress once, with the free PixeBuilder plugin, and then reuse them on every page. You'll add a font, set up typography presets (with a smaller size on phones), save your brand colors, and use them in the editor. No code needed.

Font Library, Typo Preset and Color Preset are all in the free PixeBuilder plugin. Where something belongs to PixeBuilder Pro, we say so.

Prefer to watch? The full walkthrough is in the video below. The written steps follow it, with screenshots from the same recording.

What you need

Why global fonts and colors save you time

When every heading has its own font settings and every button has its own hex code, a brand change means opening every page and fixing every element by hand. Presets work the other way round. You define a font style or a color once, link your elements to it, and when you change the preset, every linked element follows.

Step 1: Open Site Settings

In your WordPress dashboard, click PixeBuilder. The Site Settings page opens with a list on the left: Layout Settings, Font Library, Typo Preset, Color Preset and Page Transition. This guide uses the middle three, and all three are in the free plugin.

The PixeBuilder Site Settings page with the left list: Layout Settings, Font Library, Typo Preset, Color Preset and Page Transition.
PixeBuilder → Site Settings. Fonts, typography and colors each have their own section.

Step 2: Add your fonts in Font Library

Click Font Library. On the Google Fonts tab, type your font in the Add Google Font field, pick it from the suggestions and click Add Font. The demo adds DM Sans. The font now shows under Installed Fonts, ready to use in your presets.

The Font Library Google Fonts tab with DM Sans typed in the Add Google Font field and the cursor on the Add Font button.
Font Library → Google Fonts → type the name → Add Font.

Using your own brand font? Open the Custom Fonts tab instead and upload your font files. WOFF2 is the recommended format, and WOFF works too. You can also set a fallback font for each one.

The Custom Fonts tab in Font Library with the empty state Add your first custom font.
Your own font files go under Custom Fonts.

Step 3: Set your typography presets

Click Typo Preset. The presets Primary, Secondary, Text, Button and H1 to H6 are ready to use. Click Primary, then pick a Font Family (the Google Fonts you added are in the Google Fonts group), a Font Weight and a Font Size. The demo sets DM Sans, 700 Bold, 40 px. A Sample Text preview below the fields shows the result.

The Typo Preset page with Primary selected: Font Family DM Sans, Font Size 40 px and Font Weight 700 Bold.
Typo Preset → Primary: font, weight and size.

Now give phones a smaller size. Click the mobile icon above the fields and type a smaller font size. The demo uses 28 px. A mobile field you leave empty uses the desktop value. There's no Save button here: every change saves as you go.

The Primary typography preset with the mobile icon selected and a font size of 28 px.
The mobile icon: a smaller size for phones.

Step 4: Set your brand colors in Color Preset

Click Color Preset. Under Default Set, the System Colors are your brand palette: Primary, Secondary, Heading, Text, Link, Link Hover, Border and the button colors (Button Background, Button Text, Button Hover Background and Button Hover Text).

The Color Preset page with Default Set selected and the System Colors list starting with Primary, Secondary, Heading, Text and Link.
Color Preset → Default Set → System Colors.

Click Primary. The Edit Color box opens. Type your hex code in the HEX field and close the box. Closing it saves the color, so close the box before you leave the page. Do the same for Secondary and Text.

The Edit Color box for Primary with the hex code 1f4d3a in the HEX field.
Type the hex code, then close the box to save it.

Need more shades than the System Colors? Add them under Custom Colors further down the same page.

Step 5: Use the presets in the editor

Open your page with Edit with Pixe Builder. Click a heading, open the Typo Preset dropdown in the text toolbar and choose Primary. The heading switches to your preset font, DM Sans in the demo.

The PixeBuilder editor with a heading selected and the Typo Preset dropdown open, listing Custom, Primary, Secondary, Text, Button and H1.
Click a heading → Typo Preset → Primary.

For the color, pick a preset instead of typing a code. In the left panel, open the Style tab, go to Text Color, choose Custom Color in the dropdown under the color picker, then pick Primary from your Color Preset list.

The Style tab of a Text Box with Text Color set to the Primary color preset; the heading on the page is now pine green.
Style → Text Color → Primary. The heading turns pine green.

Buttons work the same way. Link the button's text color to Primary. If your button has an icon, like the arrow on Learn More, link it too: General tab → Icon / Image → the icon color → Primary. Otherwise the arrow keeps its old color when you change the preset later. Click Update to save the page.

The Button settings with Icon / Image open and the Select Color box set to the Primary preset.
Link the button's arrow icon to Primary too, then click Update.

You can also open your presets from the editor's top bar: the palette icon opens Color Presets, and there's a Typo Presets icon next to it.

The Color Presets window opened from the editor top bar, showing the Default Set System Colors.
Your presets are one click away in the top bar.

Step 6: Change a preset and watch the page follow

Here's the payoff. Go back to PixeBuilder → Color Preset, click Primary and change it. The demo goes from pine #1F4D3A to brass #B08D57. Close the box to save it.

The Edit Color box for Primary with the new hex code b08d57, a brass color.
Change Primary once…

Open the page in the builder again. The heading and the Learn More button, text and arrow, are now brass. Elements you didn't link to a preset keep their own colors, so the body text stays as it was. One change instead of twenty.

The Harbor & Pine page in the editor after the change: the heading and the Learn More button are now brass.
…and every element linked to it follows.

Fonts work the same way: change the Primary typography preset, and every heading that uses it updates.

Free and Pro: what's included

  • Free: Font Library (Google Fonts and Custom Fonts), Typo Preset (Primary, Secondary, Text, Button, H1 to H6, with sizes per device), Color Preset (System Colors and Custom Colors), and picking presets in the editor.
  • PixeBuilder Pro: the Variable Manager, Icon Presets, Button Presets and Control Presets.

Frequently asked questions

Are global fonts and colors free in PixeBuilder?

Yes. Font Library, Typo Preset and Color Preset are in the free PixeBuilder plugin on WordPress.org. The Variable Manager and the icon, button and control presets are part of PixeBuilder Pro.

Can I use my own font files?

Yes. In Font Library, open Custom Fonts and upload your font files. WOFF2 is recommended, and WOFF works too. You can set a fallback font for each one.

Why didn't an element change when I changed a preset?

Only elements linked to the preset follow it. If you typed a hex code or picked a font directly on an element, it keeps that value. Select the element and pick the preset instead. On buttons, check the icon color as well as the text color.

Can phones get a different font size?

Yes. In Typo Preset, click the mobile icon above the fields and set a smaller size. If you leave it empty, phones use the desktop size.

Next steps

Ready to set your fonts and colors once? Get PixeBuilder free on WordPress.org.