For developers
Styling the widget
The widget renders in a Shadow DOM, so your CSS can’t accidentally break it. It still inherits your font and text colour, and you can tune it on purpose with CSS variables and ::part().
CSS variables
Set them on the widget (.wall-widget or your [data-wall] element) or any ancestor.
| Variable | Controls | Default |
|---|---|---|
--wall-font | Font family | inherits your site |
--wall-text | Text colour | inherits your site |
--wall-accent | Stars, links, avatars | your accent colour |
--wall-card-bg | Card background | depends on surface |
--wall-card-border | Card border colour | depends on surface |
--wall-radius | Corner radius | 3px / 14px / 24px |
--wall-gap | Space between cards | 12px / 20px |
.wall-widget {
--wall-font: "Inter", sans-serif;
--wall-radius: 0;
--wall-card-bg: #fffaf0;
}
Parts
Style anything else with ::part().
| Part | Element |
|---|---|
::part(wall) | The whole widget |
::part(card) | Each testimonial |
::part(quote) | The testimonial text |
::part(name) | The person’s name |
::part(title) | Their title or company |
::part(stars) | The star rating |
::part(cta) | The “Leave a testimonial” link |
::part(badge) | The Free-plan badge |
.wall-widget::part(quote) { font-size: 1.125rem; }
.wall-widget::part(card) { box-shadow: none; }
Per-embed options
Add these attributes to the script tag or placeholder to override the dashboard settings for one embed:
data-layout— cards, minimal, marquee or notesdata-theme— match, light, dark or autodata-limit— show at most this many testimonials