This is a Beta feature. Functionality may change without notice.
Amplitude provides two options for customizing the look and feel of your guides and surveys. Themes provide control over the appearance of your guides and surveys. Custom CSS offers additional fine-grained control for specific styling needs that themes can't address. Amplitude recommends using themes for most customizations, as they offer better flexibility and backward compatibility.
Custom CSS is available for the web SDK. Mobile SDKs (iOS, Android, React Native) don't support custom CSS.
The Guides and Surveys SDK adds CSS classes to form factor elements, enabling you to target them with CSS. These selectors:
Use CSS class selectors to target Guides and Surveys elements:
/* Target banner container */.amplitude-engagement-banner-container { background-color: #f0f0f0;} /* Target modal overlay */[data-amplitude-engagement-modal-overlay] { background-color: rgba(0, 0, 0, 0.8);}
Form Factor | Selector |
---|---|
Banner | .amplitude-engagement-banner-container |
Modal | .amplitude-engagement-modal-container |
Modal overlay | [data-amplitude-engagement-modal-overlay] |
Popover | .amplitude-engagement-popover-container |
Tooltip | .amplitude-engagement-tooltip-content |
Pin | .amplitude-engagement-pin |
Checklist | .amplitude-engagement-checklist |
Element | Selector |
---|---|
Close button | .amplitude-engagement-close |
Image | .amplitude-engagement-image |
Beacon | .amplitude-engagement-beacon |
Element | Selector |
---|---|
Banner body | .amplitude-engagement-banner-body |
Banner title | .amplitude-engagement-banner-title |
Banner content | .amplitude-engagement-banner-content |
Banner actions | .amplitude-engagement-banner-actions |
Banner close button | .amplitude-engagement-banner-close-button |
Element | Selector |
---|---|
Tooltip content | .amplitude-engagement-tooltip-content |
Tooltip marker (image) | .amplitude-engagement-tooltip-marker__image |
Tooltip marker (icon) | .amplitude-engagement-tooltip-marker__icon |
Tooltip marker (beacon) | .amplitude-engagement-tooltip-marker__beacon |
Element | Selector |
---|---|
Pin | .amplitude-engagement-pin |
Pin beacon | .amplitude-engagement-pin-beacon |
Pin content | .amplitude-engagement-pin-content |
Pin arrow | .amplitude-engagement-pin-arrow |
Pin mask | .amplitude-engagement-pin-mask |
Element | Selector |
---|---|
Checklist | .amplitude-engagement-checklist |
Checklist header | .amplitude-engagement-checklist-header |
Checklist title | .amplitude-engagement-checklist-title |
Checklist subtitle | .amplitude-engagement-checklist-subtitle |
Checklist progress | .amplitude-engagement-checklist-progress |
Checklist close button | .amplitude-engagement-checklist-close-button |
Checklist item header (expanded) | .amplitude-engagement-checklist-item-header__expanded |
Checklist item header (collapsed) | .amplitude-engagement-checklist-item-header__collapsed |
Checklist item body | .amplitude-engagement-checklist-item-body |
Checklist item content | .amplitude-engagement-checklist-item-content |
Checklist item buttons | .amplitude-engagement-checklist-item-buttons |
Checklist item button (primary) | .amplitude-engagement-checklist-item-button__primary |
Checklist item button (secondary) | .amplitude-engagement-checklist-item-button__secondary |
Element | Selector |
---|---|
CTA button | .amplitude-engagement-cta-button |
CTA button (primary) | .amplitude-engagement-cta-button__primary |
CTA button (secondary) | .amplitude-engagement-cta-button__secondary |
Banner actions | .amplitude-engagement-banner-actions |
Element | Selector |
---|---|
List | .amplitude-engagement-list |
List dropdown | .amplitude-engagement-list-dropdown |
Rating | .amplitude-engagement-rating |
Rating (emojis) | .amplitude-engagement-rating__emojis |
Text input | .amplitude-engagement-text-input |
Short text input | .amplitude-engagement-short-text-input |
Checkbox option | .amplitude-engagement-checkbox-option |
Radio option | .amplitude-engagement-radio-option |
Use class selectors for basic styling, or to target specific form factors.
/* Style banner background */.amplitude-engagement-banner-container { background: linear-gradient(to right, #667eea, #764ba2);} /* Customize CTA button appearance */.amplitude-engagement-cta-button { border-radius: 8px; text-transform: uppercase;} /* Style close button hover state */.amplitude-engagement-close:hover { opacity: 0.7;}
/* Style banners with custom background */.amplitude-engagement-banner-container { background: linear-gradient(to right, #667eea, #764ba2);} /* Style primary CTA buttons in banners */.amplitude-engagement-banner-container .amplitude-engagement-cta-button__primary { width: 100%;} /* Style checklist progress bars */.amplitude-engagement-checklist-progress { background-color: #f5f5f5;}
Keep the following considerations in mind as you implement custom CSS.
You may need to use !important
to override default styles:
.amplitude-engagement-banner-container { background-color: #custom-color !important;}
Target the documented CSS classes rather than:
July 31st, 2025
Need help? Contact Support
Visit Amplitude.com
Have a look at the Amplitude Blog
Learn more at Amplitude Academy
© 2025 Amplitude, Inc. All rights reserved. Amplitude is a registered trademark of Amplitude, Inc.