Pro · Site building and navigation
Dark mode switch block for WordPress
A button that switches the website between its light and dark colours, and remembers the visitor’s choice.
Live
The Dark mode switch block, working
This is the block itself, running on this page with sample content. Nothing here is a picture.
What you can change
- Show label (on or off)
Also known as: dark, light, colour scheme.
Good to know
Questions about the Dark mode switch block
Is the Dark mode switch block free?
The Dark mode switch block comes with Page Builder Sandwich Pro, from $79 a year. Every Pro plan starts with a 14-day free trial, and no card is needed.
Does the Dark mode switch block work with my theme?
Yes. It is an ordinary WordPress block, so it works with any theme, in the block editor and in Sandwich Studio. Its styles load only on the pages that use it, so the rest of your site stays as fast as it was.
Can I try the Dark mode switch block before I install anything?
Yes. Open the live editor: your own copy of a demo page with Page Builder Sandwich and Page Builder Sandwich Pro, no sign-up, gone within the hour.
More blocks in Site building and navigation
- Author box (Pro)
- Author profile (Free)
- Back to top (Pro)
- Breadcrumbs (Pro)
- Business hours (Pro)
- Login and register (Pro)
- Mini cart (Pro)
- Navigation menu (Free)
- Password-protected content (Free)
- Post details (Free)
- Product element (Pro)
- Reading progress bar (Free)
- Reading time (Pro)
- Related posts (Free)
- Search (Pro)
- Share buttons (Pro)
- Shop page (Pro)
- Site header (Pro)
- Sitemap (Free)
- Store locator (Pro)
- Table of contents (Free)