- Issue created by @kerrymick
- Assigned to robertoperuzzo
- 🇮🇹Italy robertoperuzzo 🇮🇹 Tezze sul Brenta, VI
Hi @kerrymick, the styling is a big challenge because Iubenda injects the CSS style via JS. As you can see in the iubenda.com dashboard, you can edit the banner style
When you do that, the snippet to be embedded contains the parameters to use for styling
"banner":{"acceptButtonDisplay":true,"backgroundColor":"#E53030", ....
There are two ways we can follow:
- Adds all the style parameters in Drupal so that we will manage the styles via UI. The challenge: Iubenda likes to keep things fresh and sometimes updates their parameters. So, one thing we'll want to keep an eye on is making sure we're current with any changes they make.
- Let's update the Drupal module's settings pages so we can easily embed the Iubenda snippets. We'll set up the styling directly in the Iubenda.com UI console, which is handy! The challenge: we'll have to keep an eye on how the CSS and JS aggregation works, and of course, make sure everything is secure against Cross-Site Scripting.