Skip to main content

How to reuse fonts loaded on your site

Use a font your site already loads in your popups, so Alia doesn't load it twice.

Written by Rob D

If your popups use a font your site already loads, you can tell Alia to reuse it instead of loading the font files again. This keeps your popups fast and makes sure your site and popups show the same font.

Add the font with Use font from site

First, open a font picker:

  • For all your popups: go to the Theme page and click a font field.

  • For one popup: in the popup editor, select a text element. Under Styles, choose Edit shared style, or Edit just this element to change only that element. In the Text section, click the font field, then select Edit font on the ticked font, or Add a font... at the bottom.

Then add the font:

  1. In Type to search fonts..., type your font's name and choose Add custom font "…". It only appears when the name isn't already in the list.

  2. In Add custom font, enter the Font name. It must exactly match the font-family name your site uses.

  3. Turn on Use font from site.

  4. Upload a font file for each weight and style you need, using Add variant. A regular file (400, Normal) is required.

  5. Select Save.

💡 Note: In the popup editor, Edit font changes that font everywhere it's used in the popup. To use the new font on only some text, choose Add a font... instead.

Visitors see the font your site already loaded. The files you upload are only used so the font shows correctly in the popup editor.

💡 Note: If the name doesn't exactly match your site's font, visitors see a fallback font instead.

💡 Tip: Lia, Alia's built-in AI assistant, can change your popup's fonts for you. Ask her, for example, "Use Playfair Display for the headings." To add your own font, attach the font files in the Lia chat and she'll add them to your fonts. See Getting started with Lia.

Find your site's exact font name

Right-click text on your site, choose Inspect, and look for font-family in the styles. Copy the first name exactly. Your developer can also tell you.

Frequently asked questions

Why do I still need to upload the font files?

The popup editor doesn't run on your site, so it needs the files to show the font while you design.

My popup shows a fallback font. What should I check?

Check that the font name matches your site's font-family exactly, including spaces and capitals, and that the font loads on the pages where the popup appears.

My site's text changes after the popup loads. Why?

The popup's font is clashing with your site's. Add the font with Use font from site turned on, using the exact name your site uses.

Still have questions?

Start a chat from inside the Alia app, or use the chat in our Help Center.

Did this answer your question?