What is the Twitch Polls Layer?
The Twitch Umfragen layer displays channel polls and predictions from Twitch directly on your stream overlay. When you start a poll or prediction on Twitch, the question and options appear in the layer and update live as viewers vote. You can switch the layer between:- Polls – standard channel polls (multiple options, vote counts).
- Predictions – channel point predictions (always two outcomes, channel points per option).
Adding the Layer
Choose what to show
In the layer settings, set What should be displayed? to Polls or Predictions depending on what you run on stream.
Position and size
Drag the layer where you want it. The block grows from the bottom or top edge of the layer box (see Poll display).
Layer Settings
| Setting | What it does |
|---|---|
| What should be displayed? | Polls or Predictions – must match what you start on Twitch. |
| Preview | Mock data in the editor. Turn off to see live events in the editor while testing. |
| Preview options | Number of mock choices for polls (1–10). Predictions always show 2 options. |
| Poll display | Build upward or Build downward – where the block is anchored inside the layer. |
| Hide after end | Seconds to keep results visible after a poll/prediction ends, then fade out. |
| Fonts & colors | Question font, option font, container background, bar colors, corner radius, bar height. |
| Animations | Standard layer in/out animations when a poll begins and ends. |
Recent polls
When the layer is set to Polls, the layer card can show a short list of your last completed polls (title, winner, time). This is for reference in the editor only.On Stream vs in the Editor
- OBS / browser source: Live Twitch events appear automatically when the overlay is open.
- Editor with preview on: You see sample options to design the layout.
- Editor with preview off: Live events appear in the canvas the same way as on stream.
Styling
Fonts, colors, corner radius, bar height, and animations are configured in the layer card. For finer control, use Advanced → Theme → Custom CSS on the layer. With custom CSS you can style the question/title and option labels, change progress bars (track, fill, leading color), highlight the leading option, and add borders, shadows, or glass effects on the container. Basic CSS knowledge (selectors, colors, spacing) is enough.Where to add CSS
How selectors are scoped
Vision automatically scopes your CSS to the selected layer so it does not affect other layers.- Your layer’s HTML
idis derived from the layer name (spaces become hyphens), e.g. a layer namedTwitch Polls→#Twitch-Polls. - You can use the placeholder
#layerin selectors; Vision replaces it with that id. - If you omit
#layer, selectors are prefixed with your layer id automatically.
DOM structure
Rough hierarchy rendered on stream:CSS class reference
Root & container
| Class | Description |
|---|---|
.twitch-poll | Outermost wrapper of the poll UI inside the layer. |
.twitch-poll__container | Card with background and padding; anchored to top or bottom of the layer. |
.twitch-poll__title | Poll or prediction question text. |
.twitch-poll__choices | Vertical stack of all options. |
Options
| Class | Description |
|---|---|
.twitch-poll__choice | One answer/outcome row (label + bar). |
.twitch-poll__choice-header | Row with option title and vote/points count. |
.twitch-poll__choice-label | Option title text. |
.twitch-poll__choice-metric | Numeric value (votes for polls, channel points for predictions). |
State classes
| Class | When it applies |
|---|---|
.twitch-poll__choice--leading | Option with the highest votes or channel points (always on the top option). |
.twitch-poll__choice--leading-final | Leading option during the fade-out after the poll/prediction ends. |
.twitch-poll__choice--winner | Winning option after end (winner bar color from layer settings). |
.twitch-poll__choice--loser | Non-winning options after end (default: 80% opacity, scale 0.8). |
Progress bars
| Class | Description |
|---|---|
.twitch-poll__bar | Bar element (track + fill). |
.twitch-poll__bar-track | Full-width track behind the fill. |
.twitch-poll__bar-fill | Filled portion; width reflects share of total. |
Colors, fonts, bar height, and corner radius from the layer settings are applied as inline styles. Use equal or higher specificity in Custom CSS (e.g.
#layer .twitch-poll__bar-fill) to override them.