Skip to main content
This doc only provides information to help with customisation of the new festivals widget, which is still in beta 🤓

Basic embed code:

To get a widget up and working you need the following embed code at minimum (where YOURCODE is the unique id for your widget).
You will also need to add the following scripts to get the widget to work:
Depending on your platform there are different ways for adding this code to your site. We have some examples in our widgets section here:

Available configuration options:

Here is an example of some of the configuration options currently available: And an example of how these can be used:

Language support

Use the data-lang attribute to set widget labels and text. Supported values:
  • English (en, fallback)
  • Norwegian (no, nb, nn)
  • Swedish (sv)
  • Danish (da)
  • Finnish (fi)
  • Icelandic (is)

Custom CSS

For for grained control of the layout you can use custom css to override the styles of the widget. Behind the scenes we use Tailwind CSS for the majority of the widget, alongwith Radix UI and inline styles to make the modal accessible. For a visual overview of the layout you can look at this zoomable Excalidraw document: https://link.excalidraw.com/readonly/uQHtiuAGTgUcIBurDCOc

Widget structure

Where something is marked with TODO, this is to inform you that changes will be made in the handling of this element.
The core outline of the widget is determined by the element ID’s listed below. You can paste this code to use as starting point for customisations.

Schedule item

We refer to the program of the festival internally as the schedule, and therefore we call each individual row the schedule item. As this are repeated many times we use classes rather than element ids, and this are distinguised with a ‘-cl-’ in the class name to aide with trouble shooting.

Bonus: Schedule Item Grid

If you want to get up to speed quickly with whats what in the schedule item, you can add the following CSS to highlight the grid around your content. This can help you find the element you are looking for quickly when time is short!
The details modal can also be customised, and for consistency we have chosen to use class selectors here rather than the id selectors.

Outdated selectors

When investigating the soucre code of the details you may find additional ids and classes that are not in the above list. These are from earlier incarnations of the widget, that have been left in for backwards compatiability, but are now deprecated and will be removed in future versions of the widget.
Last modified on June 21, 2026