Custom shop Snippet
Customise the appearance in a custom shop
Last updated 18 November 2026
In short
You set the notice width with data-max-width; the default is 480 pixels. The snippet shows the GARAN label full or nested. In the configuration you switch on the “Open notice as image” link and change the alt text if needed.
Settings
| Setting | Where | Effect |
|---|---|---|
data-max-width="360" |
script line | notice width in pixels, default 480 |
data-display="nested" |
placeholder data-gfy=“garan” | small label; a click opens the large one. Default is full |
"noticeLink": true |
configuration | “Open notice as image” link below the graphic |
"noticeAlt": "…" |
configuration | your own alt text for the graphic |
What cannot be changed
Both graphics are the official ones of the European Commission. Colours, font and content stay unchanged. Rendering happens in the Shadow DOM, where your CSS does not apply.
Related questions
Can I show the notice in black and white?
No. The official graphic is shown in colour.
How small may the notice be?
It must stay legible. On mobile it adapts to the width.
Why does my CSS not apply?
Rendering happens in the Shadow DOM, so the theme cannot alter the graphic by accident.
Was this article helpful?
What was missing? Send us a short note and we will add it to the article. Send feedback by email
Your choice is not stored or sent anywhere.
Thank you for your feedback. What was missing? Send us a short note and we will add it to the article. Send feedback by email