Skip to main content
All CollectionsCustomization and advanced settings
Change the font size and family of the consent popup
Change the font size and family of the consent popup

Learn how to change the font size and family of the consent popup.

Updated over a month ago

In this article, we’ll show you how to change the font size and family of the consent popup.

Before you start

Here are a few things to know before you start:

  • The following guide is for Overlay v2 and Overlay v3 templates, version 1.1.0 or higher. The older versions might need different changes.

Change the font size and family of the consent popup

To change the font size and family of the consent Overlay and Overlay v2 templates, follow these steps:

1. Log in to your Cookie Information account.

2. In Consent Solutions, find the consent solution you want to change the popup font.

3. Go to Pop-up appearance > Advanced options.

4. Click Expand.

Cookie consent advanced options in Cookie Information

5. In CSS, find the CSS class .coi-banner__page.

Change the font size in Cookie Information in CSS class

6. You can adjust the font size by modifying the pixel value in the font-size property.

Change the font family in Cookie Information in CSS class

7. To change the font family, add the font-family property with the font name:

Note: The font family must be either a single <string> value or a space-separated sequence of <custom-ident> values.

8. Click Save and publish.

9. Done.

Related articles

Did this answer your question?