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.
5. In CSS, find the CSS class .coi-banner__page
.
6. You can adjust the font size by modifying the pixel value in the font-size
property.
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