Minion

How to add custom fonts to a Shopify theme

Use Shopify theme typography settings or a licensed WOFF2 font with @font-face, while keeping text readable and limiting storefront loading costs.

Reviewed December 2, 2026 · Minion

Start with your Shopify theme's typography settings. If the required typeface is available there, use the font picker so the theme can manage its normal font loading. A custom font file is appropriate when your brand requires a licensed typeface that the theme does not include.

Prepare the font

Confirm that your license permits web embedding. Request WOFF2 files for the weights and styles the storefront actually uses. Loading a full family when the design only needs regular and bold adds avoidable requests.

Duplicate the theme before changing its code. Upload the font to the theme's assets or another approved asset location, then define its family, weight and style. This example belongs in a Liquid-rendered style block after a file named brand-regular.woff2 has been added to theme assets:

@font-face {
  font-family: "Brand";
  src: url("{{ 'brand-regular.woff2' | asset_url }}") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
.brand-copy {
  font-family: "Brand", Arial, sans-serif;
}

Apply it deliberately

Connect the font to the theme's typography variables or the specific components you want to change. A blanket selector on every element can override icons, payment marks and third-party widgets. A regular font file should not be declared as supporting weights it does not contain.

For a font chosen through Shopify's font picker, use the Liquid font_face filter and the theme's existing font settings instead of constructing a separate download URL.

Verify the result

Check navigation, headings, product prices and form controls on mobile. Test with the font request blocked to confirm that fallback text remains readable. Review layout movement and load only the font weights that make a visible difference.

References

Put this into practice.

Minion implements Shopify typography and theme updates with attention to brand consistency, accessibility and storefront performance.

Talk to MinionExplore our services