# Change popup fonts

To change the `font-family` of specific parts of the popup, you need to target the appropriate CSS class for that element.

{% hint style="warning" %}
**Important:** Make sure the font you want to use is already installed in your theme or actively loaded; otherwise, it won’t work.
{% endhint %}

For example, to change only the font of the popup title, use the following CSS in [Custom code](/settings/custom-code.md):

```css
.md-modal__header__title span {
    font-family: 'Gluten';
}
```

Replace `'Gluten'` with the desired font-family name of your theme.

{% hint style="info" %}
**Accessibility tip**: if you change the font or font size, use relative units (like rem or %) instead of fixed pixels. Text should scale up to 200% in browser settings without losing content or functionality (WCAG 2.2 – Resize Text, Level AA).
{% endhint %}

## Popup element classes

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-cover data-type="files"></th></tr></thead><tbody><tr><td><strong>Title</strong></td><td><code>.md-modal__header__title span</code></td><td><a href="/files/RB8hQPx4tFmkMXuHMBvu">/files/RB8hQPx4tFmkMXuHMBvu</a></td></tr><tr><td><strong>Text</strong></td><td><code>.md-modal__bodyContent p</code></td><td><a href="/files/solzAI990e7s8a7ZON0G">/files/solzAI990e7s8a7ZON0G</a></td></tr><tr><td><strong>Helper text</strong></td><td><code>.md-modal__bodyContent__helperText</code></td><td><a href="/files/tpAi8lPQK2iQrC91nn77">/files/tpAi8lPQK2iQrC91nn77</a></td></tr><tr><td><strong>Labels</strong></td><td><code>.md-modal__formContent__selectLabel</code></td><td><a href="/files/1XnHvLi6Vqa2sUr4Sday">/files/1XnHvLi6Vqa2sUr4Sday</a></td></tr><tr><td><strong>Selectors</strong></td><td><code>#md-app-embed__modal .md-form__select, #md-app-embed__modal .md-form__select__country__list-link-wrapper span</code></td><td><a href="/files/1MWaXlIA6Xq5um14rKEb">/files/1MWaXlIA6Xq5um14rKEb</a></td></tr><tr><td><strong>Button</strong></td><td><code>.md-btn__primary</code></td><td><a href="/files/G7qbw7UrmDVSQRK2U1K4">/files/G7qbw7UrmDVSQRK2U1K4</a></td></tr></tbody></table>

{% hint style="info" %}
You can also use these CSS classes to apply additional specific styles **that are not available in the app embed settings**. If a style is already provided in the app embed, please use that option instead.
{% endhint %}


---

# Agent Instructions: 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:

```
GET https://help.orbe.app/developer-reference/snippets/change-popup-fonts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
