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.

For example, to change only the font of the popup title, use the following CSS in Custom CSS:

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

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

Cover

Title

.md-modal__header__title span

Cover

Text

.md-modal__bodyContent p

Cover

Helper text

.md-modal__bodyContent__helperText

Cover

Labels

.md-modal__formContent__selectLabel

Cover

Selectors

#md-app-embed__modal .md-form__select, #md-app-embed__modal .md-form__select__country__list-link-wrapper span

Cover

Button

.md-btn__primary

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.

Last updated

Was this helpful?