Back to Blog
TutorialMarch 20, 2026·8 min read

How to Change Font on Shopify: The Complete Guide to Custom Typography

Aa

Custom Fonts on Shopify

Typography Guide

Tutorial

The fonts on your Shopify store say more about your brand than you think. The wrong typeface makes a premium product look cheap. The right one builds instant credibility. Here is exactly how to change fonts on Shopify, whether you want to use the built-in options, upload a custom font, or pull from Google Fonts.

This guide covers every method available to Shopify merchants in 2026. No fluff. Just clear steps you can follow right now to get your typography dialed in.

Why Typography Matters for Your Shopify Store

Typography is not just aesthetics. It directly impacts three things that drive revenue.

  • Brand identity. Your font is one of the first signals customers process. A clean sans-serif says modern and minimal. A refined serif says luxury and heritage. Choosing the right typeface aligns your visual identity with your brand positioning.
  • Readability. If customers struggle to read your product descriptions or navigation labels, they leave. Poor font choices, especially low contrast or decorative body text, create friction that kills conversions silently.
  • Conversions. Studies consistently show that typography influences purchase decisions. Clear, professional type builds trust. Trust drives action. Stores that invest in intentional typography see measurable lifts in add-to-cart rates and average order values.

The good news: changing your font on Shopify is straightforward. You have three main methods, and we will walk through each one.

Method 1: Changing Fonts Through the Shopify Theme Editor

This is the easiest approach and requires zero coding. Shopify's built-in theme editor gives you access to a curated library of web-safe and Google Fonts that are pre-optimized for performance.

Step-by-Step Instructions

  1. Go to your Shopify admin. Navigate to Online Store > Themes.
  2. Open the theme editor. Find your active theme and click Customize.
  3. Access theme settings. In the left sidebar, click the gear icon at the bottom or navigate to Theme settings.
  4. Find the Typography section. Scroll down until you see Typography. This is where you control both heading and body fonts.
  5. Change your heading font. Click the Change button next to "Headings." Browse through the available fonts or use the search bar to find a specific typeface. You can filter by serif, sans-serif, or monospace.
  6. Change your body font. Do the same for the "Body" font selector. Pick something highly readable at small sizes.
  7. Adjust font sizes. Most themes let you control base font size, heading scale, and line height directly in this panel.
  8. Preview and save. Check how your new fonts look across the homepage, a product page, and a collection page. Once you are happy, click Save.

Shopify's built-in font library includes popular choices like Inter, Work Sans, Montserrat, Playfair Display, and Lora. For many stores, this selection is more than enough. The fonts are loaded efficiently and require no maintenance on your end.

Method 2: Adding a Custom Font via Code

If your brand uses a proprietary typeface or a font that is not in Shopify's library, you can upload it manually. This method requires editing your theme code, but it is not complicated if you follow these steps.

Step 1: Prepare Your Font Files

You need your font in .woff2 format. This is the most efficient web font format available. It offers the best compression and is supported by every modern browser. If you only have .ttf or .otf files, use a free converter like Transfonter or Font Squirrel's Webfont Generator to create .woff2 versions.

Prepare separate files for each weight you need: regular, bold, and italic at minimum. Do not upload weights you will never use. Every extra file adds load time.

Step 2: Upload Font Files to Shopify

  1. In your Shopify admin, go to Settings > Files.
  2. Click Upload files and select your .woff2 font files.
  3. Once uploaded, click the link icon next to each file to copy its URL. Save these URLs. You will need them in the next step.

Step 3: Add @font-face to Your Theme

Go to Online Store > Themes > Actions > Edit code. Open the theme.liquid file and add the following code inside the <head> tag:

<style>
  @font-face {
    font-family: 'YourFontName';
    src: url('YOUR-WOFF2-URL-HERE') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
  }
  @font-face {
    font-family: 'YourFontName';
    src: url('YOUR-BOLD-WOFF2-URL-HERE') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
  }
</style>

Replace YOUR-WOFF2-URL-HERE with the actual URLs you copied from the Files section.

Step 4: Apply the Font with CSS

Still in the theme editor, open your base.css or theme.css file (the name varies by theme) and add:

/* Apply custom font to headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'YourFontName', sans-serif !important;
}

/* Apply custom font to body text */
body, p, li, a, span, input, textarea, button {
  font-family: 'YourFontName', sans-serif !important;
}

Save the file and preview your store. Your custom font should now be active everywhere you specified.

Method 3: Using Google Fonts on Shopify

Google Fonts offers over 1,500 free, open-source typefaces. While Shopify's theme editor already includes many of them, you can access the full library by adding them via code.

The Quick Method

  1. Go to fonts.google.com and select the font you want.
  2. Click Get embed code and copy the <link> tag.
  3. In your Shopify theme editor, open theme.liquid and paste the link tag inside the <head> section.
  4. Add CSS rules (like in Method 2, Step 4) to apply the font to your headings and body text.

For example, to add the font "Space Grotesk," you would paste:

<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;700&display=swap" rel="stylesheet">

The Performance-Optimized Method

Instead of linking to Google's servers, download the font files from Google Fonts and self-host them using Method 2. This eliminates a third-party DNS lookup and gives you full control over caching. For stores where speed is critical (and it should always be), self-hosting is the better approach.

Best Font Pairings for E-Commerce

Choosing fonts is one thing. Pairing them effectively is another. Here are proven heading and body combinations that work exceptionally well for online stores.

  • Playfair Display + Inter. A classic serif heading with a clean, modern body font. Perfect for fashion, beauty, and lifestyle brands that want to feel elevated without being unapproachable.
  • Montserrat + Source Sans Pro. Two sans-serifs that pair beautifully. Montserrat brings geometric structure to headings while Source Sans Pro keeps body text effortlessly readable. Great for tech, DTC, and modern brands.
  • Lora + Work Sans. A refined serif heading with a friendly, open sans-serif body. Ideal for food, wellness, and artisan brands that want warmth and credibility.
  • Oswald + Roboto. Bold, condensed headings with a neutral, versatile body font. Strong choice for sports, outdoor, and streetwear brands.
  • DM Serif Display + DM Sans. A cohesive pairing from the same type family. The serif headings feel editorial and sophisticated while the sans-serif body stays clean. Works beautifully for editorial commerce and curated brands.

The key rule: pick one font for headings and one for body text. Never use more than two fonts on a single store. Three fonts maximum if you count a monospace for code or pricing, but that is the absolute ceiling.

Typography Tips That Actually Impact Conversions

Picking the right font is step one. Configuring it properly is where most merchants fall short. Pay attention to these settings.

Font Size

Your base body text should be at least 16px. Anything smaller and you are forcing customers to squint, especially on mobile. For headings, 28-40px works well on desktop, scaling down to 22-30px on mobile. Product titles on collection pages should be at least 14px.

Line Height

Set your body text line height to 1.5 to 1.7. This creates breathing room between lines and dramatically improves readability. Headings can be tighter at 1.1 to 1.3. Cramped line height is one of the fastest ways to make a store feel unprofessional.

Contrast

Ensure your text has sufficient contrast against its background. WCAG guidelines recommend a minimum contrast ratio of 4.5:1 for body text. Light gray text on a white background might look sleek in a design mockup, but it fails in practice. Dark text on light backgrounds wins every time for readability.

Mobile Readability

Test your typography on actual devices, not just responsive preview tools. Check your product descriptions, navigation labels, and checkout text on a real phone screen. If you find yourself pinching to zoom, your fonts are too small. Over 70% of Shopify traffic is mobile. Optimizing for desktop first is a costly mistake.

Font Performance: What Most Merchants Ignore

Every font file you load adds to your page weight and impacts load time. Here is how to keep your typography fast.

  • Use .woff2 format. It offers 30% better compression than .woff and is supported by all modern browsers. There is no reason to use any other format in 2026.
  • Limit font weights. Only load the weights you actually use. Most stores need regular (400) and bold (700). Maybe medium (500) or semibold (600). Loading light, extra-bold, and black weights you never reference is pure waste.
  • Always set font-display: swap. This tells the browser to show a fallback font immediately and swap in your custom font once it loads. Without this, visitors may see invisible text for several seconds while fonts download.
  • Preload critical fonts. Add a preload link for your primary body font to start downloading it before the browser even parses your CSS. Example: <link rel="preload" href="your-font.woff2" as="font" type="font/woff2" crossorigin>
  • Self-host when possible. Loading fonts from your own domain eliminates DNS lookups to third-party servers. This consistently saves 100-300ms on initial page load.

Common Font Mistakes to Avoid

These mistakes are everywhere. Avoid them and you will already be ahead of most Shopify stores.

  • Using too many fonts. Two fonts is the sweet spot. Three is the maximum. Anything more creates visual chaos and slows your site. Every additional font family is another HTTP request and render-blocking resource.
  • Fonts too small on mobile. If your body text is below 16px on mobile, customers are struggling to read. This is especially damaging on product pages where descriptions drive purchase decisions.
  • Decorative fonts for body text. Script fonts, display fonts, and novelty typefaces should only be used for short headings or accent text. Never use them for paragraphs. They destroy readability and make your store look amateurish.
  • Ignoring fallback fonts. Always specify fallback fonts in your CSS font stack. If your custom font fails to load, customers should see a reasonable alternative, not Times New Roman.
  • Not testing across browsers. Fonts render differently on Chrome, Safari, Firefox, and Edge. A font that looks sharp on your MacBook might appear blurry on a Windows laptop. Test on multiple browsers and operating systems before committing.
  • Skipping font licensing. Not all fonts are free to use commercially. If you are using a premium typeface, make sure your license covers web use. Getting flagged for licensing violations is an unnecessary headache.

Changing Fonts on Shopify: Which Method Should You Use?

Here is the decision framework:

  • Use the theme editor if the font you want is already in Shopify's library. This is the fastest, safest, and most maintainable approach.
  • Upload a custom font if your brand has a proprietary typeface or you need a specific font not available in the editor. Just keep the file count minimal and always use .woff2.
  • Use Google Fonts if you need access to the full Google Fonts library. Self-host the files for best performance.

Whichever method you choose, always preview on mobile before publishing. And keep performance in mind. The most beautiful font in the world is worthless if it adds two seconds to your load time.

Skip the Code. Just Tell Clyro What You Want.

Editing theme files and writing CSS is fine if you enjoy it. But what if you could simply describe the typography style you want and have it applied automatically? That is exactly how Clyro works. Tell the AI you want "modern sans-serif headings with a classic serif body" and it builds your entire theme with that typography baked in.

No uploading font files. No editing Liquid templates. No debugging CSS specificity issues. Just describe your vision and let the AI handle the rest. Your fonts will be optimized for performance, properly paired, and perfectly sized across every device.

Try Clyro Free
Clyro

Clyro Team

E-commerce & AI Insights

Share: