The dark mode switch
Choose the style, size, corner and colours of the switch, and put it in a menu, a shortcode, a block, a widget or on your own button.
Everything about the switch is under Wing Suite → Dark Mode → Switch, in three tabs: Floating switch, Menu switch and Other placements.
Floating switch#
The floating switch sits in a corner of every page.

| Setting | What it does |
|---|---|
| Show the floating switch | Shows or hides it. Switch it off when the switch lives in your menu or header instead. |
| Style | Five styles come with the free plugin: an icon button, a pill toggle, a sun / moon slider, a toggle with a label, and a minimal icon. |
| Size | Small, medium or large. |
| Corner | Bottom right, bottom left, top right or top left. |
| Distance from the side and Distance from the top or bottom | Move the switch away from the edges, for example to clear a chat button. |
| Show on | Desktop, phones and tablets, or both. |
| Label | The text of the "toggle with a label" style. |
| Switch colours | Background and icon colour in each mode. |
Wing Suite Pro adds twelve more styles (frosted glass, neon outline, rounded square, outline ring, gradient pill, eclipse, light bulb, day and night sky, flip card, side tab with label, tiny dot, retro rocker), Custom icon in light mode and Custom icon in dark mode, a Tooltip, an Attention effect, Visitors can drag the switch, Appear after and Hide after, and Style on phones with Size on phones.

Menu switch#
Switch on Add a switch to a menu, then tick the menus under Menus or the places under Menu locations, and choose a Style. The switch is added as the last item of those menus.

Other placements#

- Shortcode:
[wingsuite_dark_mode]prints a switch wherever you put it. It takesstyle,size,labelandalign, for example[wingsuite_dark_mode style="slide" size="small"]. - Block: add the Dark Mode Switch block in the block editor.
- Widget: add the Wing Suite dark mode widget to any widget area.
- Elementor: the widget is in the Wing Suite category.
- Custom trigger selector: enter the CSS selector of a button or link of your own, for example
.my-dark-button, and a click on it changes the mode.
Good to know#
- Every switch is a real button: it works from the keyboard and is announced by screen readers.
- All switches on a page stay in step with each other.
- A switch added by shortcode or block loads its stylesheet only on the pages that show it.
Did this not answer your question?
Send us what you are trying to do and we will help, and improve this page.