Last Updated 17 Apr 2025
|

Going Dark: Introducing the New Color Switcher for Astra

Quick Summary ↪ Astra now has a dark mode! After a lot of development and testing, we are pleased to announce the arrival of the Color Switcher that enables dark mode. A simple but powerful way to switch from light to dark modes in the Astra WordPress theme.

Astra Dark Switcher

We’re excited to announce a brand-new feature for the Astra WordPress theme, dark mode!

You have been asking us for this feature for a while now but we didn’t want to release it until it was 100% perfect.

Now is the time.

Update Astra today and you’ll be able to utilize the all-new Color Switcher.

It’s a simple way for visitors to switch between light and dark viewing experiences.

Whether it’s personal preference, late night browsing sessions or accessibility, the Color Switcher adds another level of interactivity to your website.

Custom dark mode for your WordPress site? The Astra Color Switcher makes it possible with no plugins or coding. Take control of color, UX, and accessibility!

A Smoother Viewing Experience on Your Terms

Light?

Astra Theme on Light Mode

Or dark?

Astra Theme On Dark Mode

You get to choose.

Dark mode isn’t just a design trend. It’s an expectation. 

Whether visitors are browsing late at night or just prefer a darker interface, Astra makes it easy to give them what they want without compromising performance or design.

With the new Color Switcher, you can add a stylish toggle button anywhere on your site. 

Visitors can then instantly switch between the default light mode and a fully customized dark mode.

You Control the Experience

The Color Switcher isn’t just about flipping colors. It’s about designing the user journey on your terms

Whether you’re running a blog, portfolio, or business site, this update lets you offer a more comfortable and accessible experience to every visitor.

Who Can Benefit From Astra Dark Mode?

We have seen requests for dark mode across all our channels and we’re now happy to deliver.

While everyone can get something out of the Color Switcher, we think these groups will particularly like it:

It’s not always about flexibility. Sometimes it’s just about offering choice.

Now you can offer that choice with the Astra Color Switcher.

How To Enable the Color Switcher

Update to the latest version of Astra and navigate to Astra > Customize.

You can add your mode toggle wherever you like but it’s traditionally found in the header so we’ll add it there.

Choose Header Builder and select where you would like to add the button.

Select Color Switcher from the popup menu.

Select Color Switcher from the popup menu

Click on the Color Switcher to load the customizer menu on the left.

Select the Configure Palettes button to select your colors. You’ll need both a light mode palette and a dark mode palette for the switcher to work.

Select the Configure Palettes button

Select the dropdown menu under Alternate Palette to select which palettes are switched by the button.

Select the dropdown menu under Alternate Palette

Default is the standard light design and Dark is dark mode. You can add alternative options if you like using the Style 2 and Style 3 settings.

Change the colors in the Global Palette menu, save them and select the relevant palette using the  Alternate Palette menu.

The Default Color Mode setting underneath controls whether visitors see the light or dark version of the page when they first arrive.

The Default Color Mode setting

Under that are settings for the switcher button, size, label and visibility.

Switch to the Design tab and you can configure colors, spacing and how the button will behave if you use sticky headers.

Introducing the New Color Switcher for Astra-7

Select the device switcher icons at the bottom of the page to configure the appearance and behavior for mobile and tablet as well as desktop.

As this is Astra, you can infinitely customize colors, behavior and personalize the user journey as much as you like!

The New Color Switcher for the Astra Theme

Astra’s new dark mode Color Switcher gives site owners complete design control and visitors the freedom to choose how they experience your site. 

It’s a simple way to boost engagement. 

It also improves accessibility, and delivers a more personalized user experience on any screen, at any time. 

Update Astra today and let your design work for everyone!

Article by
Mehedi Hasan

Mehedi Hasan is a product manager leading Astra, Spectra, and Starter Templates at Brainstorm Force. He brings together design, development, marketing, and support teams to build seamless WordPress experiences. With a sharp focus on performance, usability, and real-world user needs, Mehedi is passionate about simplifying web creation for everyone.

Disclosure: This blog may contain affiliate links. If you make a purchase through one of these links, we may receive a small commission. Read disclosure. Rest assured that we only recommend products that we have personally used and believe will add value to our readers. Thanks for your support!

2 comments
  1. Louise McLoughlin Profile Pic
    Louise McLoughlin

    Hi there. I just tried to add this to my website. I am using Elementor with Astra. I followed your instructions to set up the colour switcher but it doesn’t show up in my header. I checked that elementor is using the global website colours which it is, so I don’t know what is wrong. Can you advise?

    1. Team Astra Profile Pic

      Hello,

      Thanks for trying out the new Dark Color Switcher! I’m sorry to hear it’s not showing up as expected in your header.

      To help you better, could you please open a support ticket with us? That way, our team can take a closer look at your specific setup and assist you more effectively. You can open a ticket here: https://qa.wpastra.com/support/

      Thank you.

Leave a Comment

Your email address will not be published. Required fields are marked *

Join 1,653,898+ Happy Site Owners Using Astra

Whether you are a beginner, small business owner, or professional web developer, Astra provides all the tools you need to easily build your beautiful WordPress website.

Download is Just A Click Away!

Membership Retention Checklist Download

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form
Scroll to Top