Each widget has its own branding, so you can style every widget differently. If you want several widgets to look the same, apply the same settings to each one.
The settings are grouped in cards. Click a card to unfold it. The preview on the right updates as you change settings, but nothing reaches your website until you click Save at the top of the page. Reset discards unsaved changes.
The Branding tab with its settings cards and the live preview
Which cards you see depends on the widget’s layout. For example, Launcher Button only appears for launcher and pill widgets, and Size and borders only for embedded and overlay widgets.
The Style card
For launcher and pill widgets, this card styles the button visitors click to open the widget. For pills it’s called Pill Button.
Placement settings for a launcher widget
For launcher widgets:
For pill widgets:
#target-element
A pill placed inside an element fills the height of that element, so give the element a height, for example height: 600px. The pill is always at least 480px high, which is also its height when the element has no height of its own. The offsets and the stacking level don’t apply to it.
height: 600px
Stacking level is the CSS z-index of the launcher button or the floating pill. It decides which elements of your page appear in front of the widget. Increase it if another element, such as a cookie banner, covers the widget; decrease it if the widget covers something it shouldn’t. The default is the maximum supported value, 2147483646, so in most cases you can leave it as it is. The preview doesn’t show the stacking level.
z-index
For embedded and overlay widgets:
When Custom CSS is enabled for your widget, this card lets you add your own CSS rules to the widget or launcher, for example [data-raffle-role="launcher-button"] { border-radius: 9999px; }. Contact Raffle Support if you need it enabled.
[data-raffle-role="launcher-button"] { border-radius: 9999px; }
Chat