<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WPWife &#187; wp dark mode</title>
	<atom:link href="http://www.wpwife.com/category/wp-dark-mode/feed" rel="self" type="application/rss+xml" />
	<link>http://www.wpwife.com</link>
	<description>WPHelp: fix and optimise WP themes&#38;plugins</description>
	<lastBuildDate>Fri, 21 Nov 2025 12:00:00 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=4.1.38</generator>
	<item>
		<title>How to Add Dark Mode to Your WordPress Website (Easy)</title>
		<link>http://www.wpwife.com/tutorials/how-to-add-dark-mode-to-your-wordpress-website-easy</link>
		<comments>http://www.wpwife.com/tutorials/how-to-add-dark-mode-to-your-wordpress-website-easy#comments</comments>
		<pubDate>Wed, 01 Feb 2023 18:46:00 +0000</pubDate>
		<dc:creator><![CDATA[Editorial Staff]]></dc:creator>
				<category><![CDATA[add dark mode to your wordpress site]]></category>
		<category><![CDATA[dark mode for admin]]></category>
		<category><![CDATA[how to add dark mode]]></category>
		<category><![CDATA[how to switch on dark mode]]></category>
		<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[wordpress dark mode]]></category>
		<category><![CDATA[wp dark mode]]></category>

		<guid isPermaLink="false">https://www.wpbeginner.com/?p=83432</guid>
		<description><![CDATA[
<p>Do you want to add dark mode to your WordPress site? By adding a dark mode to WordPress, your website will adapt automatically based on the visitor&#8217;s browser preferences. You can also add a dark mode toggle to your site, so visitors can easily switch&#8230;&#160;<strong><a href="https://www.wpbeginner.com/wp-tutorials/how-to-add-dark-mode-to-your-wordpress-website-easy/">Read More &#187;</a></strong></p>
<p>The post <a href="https://www.wpbeginner.com/wp-tutorials/how-to-add-dark-mode-to-your-wordpress-website-easy/">How to Add Dark Mode to Your WordPress Website (Easy)</a> first appeared on <a href="https://www.wpbeginner.com/">WPBeginner</a>.</p>
]]></description>
				<content:encoded><![CDATA[<p>Do you want to add dark mode to your WordPress site?</p>



<p>By adding a dark mode to WordPress, your website will adapt automatically based on the visitor&#8217;s browser preferences. You can also add a dark mode toggle to your site, so visitors can easily switch between dark and light modes.</p>



<p>In this article, we&#8217;ll show you how to add dark mode to your WordPress website.</p>



<figure class="wp-block-image size-full"><img width="680" height="385" src="https://www.wpbeginner.com/wp-content/uploads/2020/09/how-to-add-dark-mode-to-your-wordpress-website-easy-og.png" alt="How to add dark mode to your WordPress website " class="wp-image-163369" srcset="https://www.wpbeginner.com/wp-content/uploads/2020/09/how-to-add-dark-mode-to-your-wordpress-website-easy-og.png 680w, https://www.wpbeginner.com/wp-content/uploads/2020/09/how-to-add-dark-mode-to-your-wordpress-website-easy-og-300x170.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<h4>What is Dark Mode and Why Add it to Your Website?</h4>



<p>Many modern mobile devices and computers use dark mode to minimize the amount of white light that comes from the screen. This can reduce eye strain, especially in low-light conditions. </p>



<p>Some people even believe that it allows you to use computers and mobile devices late into the night without the white and blue light ruining your sleep.</p>



<p>Some devices come with a built-in night mode that simply uses warmer color tones. However, dark mode actually adds dark colors to the device&#8217;s background.  </p>



<p>If you have an iPhone or Android smartphone, then you may be able to switch to dark mode using a toggle. Some popular websites like <a href="https://www.wpbeginner.com/plugins/x-best-youtube-video-gallery-plugins-for-wordpress/" title="Best YouTube Video Gallery Plugins for WordPress">YouTube</a> even offer a  built-in dark color scheme.</p>



<figure class="wp-block-image size-full"><img width="680" height="353" src="https://www.wpbeginner.com/wp-content/uploads/2020/09/youtube-dark-mode.png" alt="YouTube's dark mode" class="wp-image-163181" srcset="https://www.wpbeginner.com/wp-content/uploads/2020/09/youtube-dark-mode.png 680w, https://www.wpbeginner.com/wp-content/uploads/2020/09/youtube-dark-mode-300x156.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>On desktop computers, you can visit websites in dark mode by using a Chrome extension such as Night Eye. </p>



<p>Here&#8217;s how the WPBeginner website looks using that extension:</p>



<figure class="wp-block-image size-full"><img width="680" height="380" src="https://www.wpbeginner.com/wp-content/uploads/2020/09/wpbeginner-dark-mode.png" alt="An example of a website, with dark mode enabled" class="wp-image-163182" srcset="https://www.wpbeginner.com/wp-content/uploads/2020/09/wpbeginner-dark-mode.png 680w, https://www.wpbeginner.com/wp-content/uploads/2020/09/wpbeginner-dark-mode-300x168.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>By adding a dark mode toggle to your website, users will be able to choose the mode they prefer without having to install a special browser extension. </p>



<p>Many plugins also allow you to customize how dark mode looks on your website, so you don&#8217;t have to use the browser or device&#8217;s default settings. </p>



<p>You can even add dark mode to your WordPress admin area. This can be useful if you work on your site in the evenings or at night, or if you&#8217;re suffering from eye strain. </p>



<p>With that in mind, let&#8217;s see how you can add dark mode to your website&#8217;s public-facing front-end, and the admin area of your <a href="https://www.wpbeginner.com/guides/" title="Ultimate Guide: How to Make a Website – Step by Step Guide (Free)">WordPress website</a>. </p>



<p><strong>Tip:</strong> Want to use a dark color scheme, even when the visitor&#8217;s device is in normal or daytime mode? Then check out our list of the <a href="https://www.wpbeginner.com/showcase/21-best-free-dark-wordpress-themes/" title="Best Dark WordPress Themes (Free Included)">best dark themes for WordPress</a>.</p>



<h4><strong>How to Add Dark Mode to Your WordPress Website</strong></h4>



<p>The easiest way to create a dark mode for your website is by using <a href="https://wordpress.org/plugins/droit-dark-mode/"  rel="noopener nofollow" title="The Droit Dark WordPress plugin">Droit Dark Mode</a>. This plugin adds a toggle so visitors can enable dark mode on the front end of your site. It can even add a toggle to the admin area, so you can enable dark mode for the WordPress dashboard. </p>



<p>First, you’ll need to install and activate the Droit Dark Mode plugin. For more details, please see our guide on <a href="https://www.wpbeginner.com/beginners-guide/step-by-step-guide-to-install-a-wordpress-plugin-for-beginners/" title="How to Install a WordPress Plugin – Step by Step for Beginners">how to install a WordPress plugin</a>.</p>



<p>Upon activation, go to <strong>Droit Dark Mode » Preset Colors</strong> and choose how your dark mode will look to visitors. The free version of the plugin comes with two preset colors, so select the color that you want to use.</p>



<figure class="wp-block-image size-full"><img width="680" height="353" src="https://www.wpbeginner.com/wp-content/uploads/2020/09/droit-dark-mode.png" alt="Adding dark mode to your WordPress website" class="wp-image-163096" srcset="https://www.wpbeginner.com/wp-content/uploads/2020/09/droit-dark-mode.png 680w, https://www.wpbeginner.com/wp-content/uploads/2020/09/droit-dark-mode-300x156.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>After that, click on ‘Display Settings’ and select a style for your dark mode switch.</p>



<p>Next, open the Body Position dropdown and choose where the slider will appear on your <a href="https://www.wpbeginner.com/start-a-wordpress-blog/" title="How to Start a WordPress Blog – Beginners Guide (UPDATED)">WordPress blog</a> or website. You’ll typically want to add it to the top of your site so visitors can easily switch between the different modes.</p>



<figure class="wp-block-image size-full"><img width="680" height="303" src="https://www.wpbeginner.com/wp-content/uploads/2020/09/dark-mode-position.png" alt="How to change the position of the dark mode switch in WordPress" class="wp-image-163097" srcset="https://www.wpbeginner.com/wp-content/uploads/2020/09/dark-mode-position.png 680w, https://www.wpbeginner.com/wp-content/uploads/2020/09/dark-mode-position-300x134.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>With the setup out of the way, it’s time to enable dark mode by selecting ‘General Settings.’</p>



<p>To start, you’ll need to activate ‘Enable Front-end Dark mode,’ which will add the switch to your website’s front-end.</p>



<figure class="wp-block-image size-full"><img width="680" height="356" src="https://www.wpbeginner.com/wp-content/uploads/2020/09/enable-dark-mode.png" alt="Enabling dark mode for your WordPress website" class="wp-image-163098" srcset="https://www.wpbeginner.com/wp-content/uploads/2020/09/enable-dark-mode.png 680w, https://www.wpbeginner.com/wp-content/uploads/2020/09/enable-dark-mode-300x157.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>At the moment, WordPress will always load your site in regular, light mode.</p>



<p>If you want to make dark mode the default, then simply click to activate the ‘Enable Default Dark Mode’ switch.</p>



<figure class="wp-block-image size-full"><img width="680" height="373" src="https://www.wpbeginner.com/wp-content/uploads/2020/09/default-dark-mode.png" alt="How to make dark mode the default for your WordPress website" class="wp-image-163099" srcset="https://www.wpbeginner.com/wp-content/uploads/2020/09/default-dark-mode.png 680w, https://www.wpbeginner.com/wp-content/uploads/2020/09/default-dark-mode-300x165.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>With that done, just click on ‘Save Settings.’ Now if you visit your website, you’ll see the new dark mode switch in action.</p>



<p>To enable and disable dark mode, simply give the switch a click.</p>



<figure class="wp-block-image size-full"><img width="680" height="361" src="https://www.wpbeginner.com/wp-content/uploads/2020/09/wordpress-dark-mode.png" alt="An example of dark mode in WordPress" class="wp-image-163104" srcset="https://www.wpbeginner.com/wp-content/uploads/2020/09/wordpress-dark-mode.png 680w, https://www.wpbeginner.com/wp-content/uploads/2020/09/wordpress-dark-mode-300x159.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<h4><strong>Adding Dark Mode to Your WordPress Admin</strong> Area</h4>



<p>You can <a href="https://www.wpbeginner.com/beginners-guide/how-to-change-the-admin-color-scheme-in-wordpress-3-8/" title="How to Change the Admin Color Scheme in WordPress (Quick &amp; Easy)">change the admin color scheme in WordPress</a> using the built-in settings. However, none of the default color schemes reduce the white light coming from the screen.</p>



<p>If you work late into the evening or suffer from eye strain, then you can try adding a dark mode to the WordPress admin area.</p>



<p>Simply go to <strong>Droit Dark Mode » General Settings</strong> and click to activate the ‘Enable Backend Dark Mode’ toggle.</p>



<figure class="wp-block-image size-full"><img width="680" height="342" src="https://www.wpbeginner.com/wp-content/uploads/2020/09/dark-mode-admin.png" alt="Adding dark mode to the WordPress admin area" class="wp-image-163100" srcset="https://www.wpbeginner.com/wp-content/uploads/2020/09/dark-mode-admin.png 680w, https://www.wpbeginner.com/wp-content/uploads/2020/09/dark-mode-admin-300x150.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>After that, you can choose a color scheme for the admin dark mode. Just open the new ‘Select Color Palette’ dropdown and select either Color 1 or Color 2.</p>



<p>With that done, click on ‘Save Changes.’</p>



<p>Droit Dark Mode will now add a dark mode toggle to the admin toolbar. To see admin dark mode in action, just click the toggle.</p>



<figure class="wp-block-image size-full"><img width="680" height="347" src="https://www.wpbeginner.com/wp-content/uploads/2020/09/dark-mode-dashboard.png" alt="Enabling dark mode for the WordPress admin area" class="wp-image-163101" srcset="https://www.wpbeginner.com/wp-content/uploads/2020/09/dark-mode-dashboard.png 680w, https://www.wpbeginner.com/wp-content/uploads/2020/09/dark-mode-dashboard-300x153.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>If you’re not happy with how dark mode looks, then open the ‘Select Color Palette’ dropdown and choose a new style from the list.</p>



<p>After that, click on ‘Save Settings’ and use the toggle to see the new colors in action.</p>



<figure class="wp-block-image size-full"><img width="680" height="387" src="https://www.wpbeginner.com/wp-content/uploads/2020/09/admin-dark-mode.png" alt="Changing how dark mode looks on your WordPress admin dashboard" class="wp-image-163102" srcset="https://www.wpbeginner.com/wp-content/uploads/2020/09/admin-dark-mode.png 680w, https://www.wpbeginner.com/wp-content/uploads/2020/09/admin-dark-mode-300x171.png 300w" sizes="(max-width: 680px) 100vw, 680px" /></figure>



<p>We hope this article helped you learn how to add dark mode to your WordPress website. You may also want to see our guide on <a href="https://www.wpbeginner.com/wp-tutorials/how-to-create-a-landing-page-with-wordpress/" title="How to Create a Landing Page With WordPress">how to create a landing page in WordPress</a>, or see our expert pick of the <a href="https://www.wpbeginner.com/showcase/24-must-have-wordpress-plugins-for-business-websites/" title="Must Have WordPress Plugins for Business Websites">must have WordPress plugins</a>.</p>



<p>If you liked this article, then please subscribe to our <a href="https://youtube.com/wpbeginner?sub_confirmation=1"  rel="noreferrer noopener nofollow" title="Subscribe to WPBeginner YouTube Channel">YouTube Channel</a> for WordPress video tutorials. You can also find us on <a href="https://twitter.com/wpbeginner"  rel="noreferrer noopener nofollow" title="Follow WPBeginner on Twitter">Twitter</a> and <a href="https://facebook.com/wpbeginner"  rel="noreferrer noopener nofollow" title="Join WPBeginner Community on Facebook">Facebook</a>.</p><p>The post <a href="https://www.wpbeginner.com/wp-tutorials/how-to-add-dark-mode-to-your-wordpress-website-easy/">How to Add Dark Mode to Your WordPress Website (Easy)</a> first appeared on <a href="https://www.wpbeginner.com/">WPBeginner</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.wpwife.com/tutorials/how-to-add-dark-mode-to-your-wordpress-website-easy/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="" length="0" type="" />
		</item>
	</channel>
</rss>
