> For the complete documentation index, see [llms.txt](https://design-packs.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://design-packs.gitbook.io/docs/fundamentals/custom-fonts.md).

# Custom Fonts

{% hint style="info" %}
**Good to know**: Find cool and stylish fonts [here](/docs/guides/helpful-hints-and-resources.md#fonts)
{% endhint %}

### Add your own custom fonts to the app and generate the custom CSS to apply to your store

1. Upload the font file to the app. &#x20;
   * For performance reasons, the font is uploaded in the background and can take a few minutes.  There will be a button available to refresh the font list.  If you click on the button and it remains, it means the font hasn't been uploaded yet.  Wait a minute or two and try the button again.
   * Font file types accepted:
     * TrueType Fonts (.ttf)
     * OpenType Fonts (.otf)&#x20;
     * Web Open Font Format (.woff)
     * Web Open Font Format (.woff2)&#x20;
2. Choose the font you'd like to use for each font level from the dropdown list beside each option.  The options available are:
   * Main heading (h1, h2)
   * Small headings
   * Body text
   * Buttons and links
3. Set the other style options for each font. Set any value to **none** or **blank** to maintain the styles already present in your theme.
   * Font size - **pixel value**
   * Line height - **pixel value**
   * Letter spacing  - **pixel value**
   * Font style -  **normal**, **italic**, **oblique**
   * Text transform - **capitalize**, **lowercase**, **uppercase**
   * Color - **hex value**, **color picker**
4. When you're happy with all the styles you've set click Save & Generate font CSS. &#x20;
   * From there you'll be able to copy it to clipboard and then go to the custom CSS page.
   * You'll be able to choose from 2 options
     * **Design Packs Styles ONLY**
       * Does not apply font styles globally. Styles are only applied to Design Pack sections.
     * **Global Font Styles**&#x20;
       * Font styles are applied everywhere. Intended to override existing theme settings.
5. Paste the font styles into the Custom CSS area.
6. Choose the theme you'd like to apply it to and hit save.

![](/files/sVxDEhENFrTQmyjRLUkr)

![](/files/nR8ad7qbtTAtdtX6FL8k)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://design-packs.gitbook.io/docs/fundamentals/custom-fonts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
