For the complete documentation index, see llms.txt. This page is also available as Markdown.

Can I use custom fonts?

Use custom fonts in Avante: pick from Google Fonts in Theme settings → Typography (no code needed), or upload a WOFF/WOFF2 file with a small code edit.

Option 1 — Use the built-in font picker (Google Fonts)

If your font is available in the Google Fonts library, no code is needed.

Go to Theme settings → Typography and use the font picker to select your font directly.


Option 2 — Use a custom font file (WOFF/WOFF2)

Shopify's built-in font picker only supports fonts from the Shopify and Google font library. Using a custom font file requires a code edit.

1

Step 1 — Prepare your font files

You'll need the font in .woff2 format (recommended) or .woff. Make sure you have the weights you need — typically Regular (400) and Bold (700).

2

Step 2 — Upload font files to your theme

  1. Go to Shopify Admin → Online Store → Themes

  2. Next to your theme click Edit code

  3. In the left panel find Assets → click Add a new asset → Upload file

  4. Upload your .woff2 files one by one

The file name you upload is exactly what you use in the CSS — no full URL needed.

lightbulb
3

Step 3 — Enable custom styles

Open the Theme Editor → Edit codesnippets/custom-assets.liquid and change:

to:

4

Step 4 — Add the font to custom-styles.css

Open assets/custom-styles.css and add your @font-face declarations:

Replace your-font-regular.woff2 with the actual file names from Step 2. For monospace fonts, use monospace instead of sans-serif as the fallback.


Need help?

If you'd prefer us to handle this for you, submit a request and our team will take care of it.

Last updated

Was this helpful?