Widget CSS Override Reference Guides
Alerts Widget —
alerts_widget_css_overrides.pdfCalendar Widget —
calendar_widget_css_overrides.pdfGroups Widget —
groups_widget_css_overrides.pdfSignups Widget —
signups_widget_css_overrides.pdf
Alerts Widget CSS Overrides
Summary
You can restyle the Alert widget by adding CSS on your own website and targeting the classes already rendered by the banner. To make changes safely and cleanly:
Start with the alert banner root class so your CSS only affects the widget.
Target the banner and CTA classes listed in this guide.
Test your changes on desktop and mobile after publishing them on your site.
Root Class Naming
Alerts render with classes like:
.alerts .dce_alerts__<widget-uuid> .dc-alerts-banner
The alert root may also include placement or position classes depending on your widget configuration.
Examples:
css
.dc-alerts-banner { } .dce_alerts__12345678-abcd-1234-abcd-123456789abc { }Naming Schema
Class | Description |
| Main alert banner wrapper |
| One specific alert widget instance |
| Banner structure classes |
| CTA / button structure classes |
Common Targets
These are the most useful classes that appear in the alert widget output:
.dc-alerts-banner .dc--banner .dc--banner-container .dc--banner-container_description .dc--banner-container_date .dc--banner-close_container .dc--banner-container_countdown .dce--bar_cta-container .dce--bar_cta
Best Practices
Target the banner wrapper to style all alerts globally:
css
.dc-alerts-banner .dc--banner-container { border-radius: 14px; } .dc-alerts-banner .dce--bar_cta { font-weight: 700; }Target one specific alert widget using its UUID:
css
.dce_alerts__12345678-abcd-1234-abcd-123456789abc .dc--banner { background: #1b1b1b; color: #fff; }Notes
Alerts can add classes tied to placement and behavior, so you may see extra classes on the root banner node.
Because alerts can be injected into page chrome, always test overrides carefully on both desktop and mobile.
These overrides are a workaround based on exposed HTML classes, not an officially supported customization API.
