# Enabling dark mode for WordPress

> Offer a dark mode on your WordPress site for visitors by installing and configuring the WP Dark Mode plugin.

Source: https://helpcenter.ruachost.com/wordpress/guides/enabling-dark-mode-for-wordpress/

Dark mode provides a sleek, modern look for websites and reduces eye strain for visitors. It can also help extend device battery life. On **ruachost.com**, you can enable dark mode for your WordPress site using the **WP Dark Mode plugin**.

## Why Enable Dark Mode?

- Improves user experience, especially at night.
- Reduces glare and eye strain.
- Extends battery life on mobile devices.
- Offers a trendy, modern design option.

## Installing the WP Dark Mode Plugin

1. **Log in to WordPress** with an administrator account.
2. In the dashboard, go to **Plugins → Add New**.
3. Search for **WP Dark Mode**.
4. Click **Install Now**, then **Activate**.
5. A new menu item **WP Dark Mode** will appear in the sidebar.

## ⚙️ Configuring Dark Mode

1. In the dashboard, go to **WP Dark Mode → Settings**.
2. Enable the following options:

   - **Enable Frontend Dark Mode** → Allows visitors to switch between light and dark mode.
   - **Enable OS Aware Dark Mode** → Automatically matches the visitor’s device preference.
   - **Enable Backend Dark Mode** → Applies dark mode to the WordPress admin dashboard.
3. Save changes.

✅ Visitors will now see a toggle switch to switch between light and dark mode.

## Important Notes

- Dark mode styling may vary depending on your theme. Test thoroughly.
- Some plugins may not fully support dark mode, check compatibility.
- You can customize the dark mode switch style and position in plugin settings.
