In a previous article, we setup the WordPress Twenty Twenty Theme to support Dark Mode. You may have noticed that the solution was not perfect. For example, the “Become a Member” content block on the homepage become washed out and unreadable.

This is because the background color of that content block was set to white overriding the Theme’s color scheme. To fix this, we are going to use the Additional CSS Class(es) option for the content block to set both a light and dark background color instead. The values I enter will be based on the Twenty Twenty theme, however the basic process is the same regardless of theme.
You must be logged in to post a comment.