Customise your widget

This guide shows you how you can customise your widget to give it the look and feel of your own brand and website.


Widget settings

Depending on your Openli plan you'll have different styling options available in your Openli dashboard.

Go to "Widgets" and select your cookie widget. Click on "Edit widget" to access the customisation options.

You'll have several options to style your widget to your liking in the side menu.

Integration styling

Setting the display language

The cookie widget currently supports these languages, in the given jurisdictions:


Supported in jurisdiction

Option value

English (EN)

All jurisdictions

None, or en-us

Danish (DA)

Denmark (DK)


Dutch (NL)

Netherlands (NL)*


German (DE)

Germany (DE)*


Norwegian (NO)

Norway (NO)*


Spanish (ES)

Spain (ES)*


French (FR)

France (FR)*


*Our widget currently uses the rules from Denmark (DK) for this jurisdiction, with specific support for local rules planned for a future version.

Additional jurisdictions and languages will be added over time.

If you do not specify a language, or if the language you set is not supported by us in the visitor's jurisdiction, English will be used. The table above lists the supported combinations.

To set the display language, initialise your widget with the locale option set to the value for the language you desire. For example, to use Danish when the jurisdiction is Denmark, your widget's initialisation would look similar to this:

    type: "cookie",
    widgetPublicKey: "...",
    locale: "da-dk",

Widget button colours

Most of the European data protection agencies, including the Danish and French, have issued cookie guidelines in which they mention that the “accept” vs “reject” buttons (also referred to as "accept all" vs "accept necessary" or "yes" vs "no") should have the same colour.

We therefore recommend that you take a look at your cookie pop-up and make sure that your cookie pop-up’s buttons have the same colours.

If you are using Openli’s cookie solution, it's easy to change your buttons’ colour by following these steps:

  1. Log in to your Openli Account

  2. Go to “Widgets” (left side menu)

  3. Click the “Customise your cookie widget” button for your cookie widget

  4. In the design view, change the colours of the buttons so that they are the same, as shown here:

If you choose to have different button colours, please note that this may be non-compliant and you should therefore consider this very carefully.

The default button colour setting in Openli is that the buttons have the same colour. If your cookie pop-up buttons have different colours, it's at your own risk and responsibility.

Last updated