Secure Privacy

How to Change the Cookie Banner Font Source in Secure Privacy – Google CDN vs Browser Default

[CMP v1] Secure Privacy's cookie banner uses the Raleway font from Google's CDN by default. This guide explains how to switch the font source to Browser Default in the Colors and Styling settings — useful for resolving Content Security Policy conflicts or avoiding external Google CDN requests.

SPT
Secure Privacy Team
2 min read ()

By default, Secure Privacy's cookie consent banner uses the Raleway font loaded from Google's CDN. You can change the font source to use browser default fonts instead — useful if your Content Security Policy blocks external CDN requests or if you prefer not to load fonts from Google's servers.

Who Is This For?

  • Website administrators customizing the font source for their Secure Privacy cookie consent banner

  • Developers resolving Content Security Policy (CSP) issues caused by Google CDN font loading

  • Privacy-conscious website owners who prefer not to load third-party fonts from Google's infrastructure

The Font Source setting offers two options:

  • Google — loads the Raleway font from Google's CDN (default)

  • Browser Default — uses the visitor's browser default font, with no external CDN request

To change the font source:

  1. Log in to your Secure Privacy dashboard and navigate to your cookie banner settings.

  2. Open the Colors and Styling sidebar menu.

  3. Locate the Font Source option and select either Google or Browser Default.

  4. Click the green Save button to apply the change.

Secure Privacy Colors and Styling sidebar showing Font Source options — Google CDN and Browser Default — with Save button

Frequently Asked Questions

Why would I switch from Google CDN to Browser Default for the font source?

The most common reason is a Content Security Policy (CSP) that blocks external font requests from Google's CDN — which can cause the banner to display incorrectly or trigger console errors. Switching to Browser Default eliminates the external CDN dependency. It also avoids making a network request to Google's servers on page load, which can be relevant for visitors in regions with stricter privacy expectations around Google services.

Yes, slightly. The Raleway font used by default has a specific appearance. Switching to Browser Default means the banner will use the visitor's browser system font instead — which varies by browser and operating system. If visual consistency is important, test the banner appearance after making the change.

Do I need to rescan or make any other changes after updating the font source?

No. Changing the font source only affects how the banner's font is loaded in the visitor's browser. It does not affect your cookie scan results, blocking configuration, or compliance score. The change takes effect as soon as you click Save.

See Also

Need more help?

Our privacy experts are here to guide you through complex regulations and find the right solution.

Contact Support

Related Articles

View all