Articles on: Customize Banner

How to Customize Font Family

Currently, users can change the font-family of the Cookie Banner by having a developer add custom CSS to the website. For example:

.cwc-cookie-banner-ui-sdk,
.cwc-cookie-banner-ui-sdk button,
.cwc-cookie-banner-ui-sdk span,
.cwc-cookie-banner-ui-sdk a {
    font-family: 'Kanit', sans-serif !important;
}


In the code above, the font-family: 'Kanit', sans-serif !important; line defines the font to be used.
You can replace 'Kanit' with any other font of your choice (e.g., 'Roboto', 'Arial', 'Prompt', etc.) to match your website’s style.

Updated on: 30/05/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!