Sorry for the late reply.
This is just CSS issue and you can solve it quite easily.
It’s hard to cover everything in every theme with CSS and in some cases plugin settings will not change all colors as expected because some themes are using lots of “!important”.
For example, your theme can have something like this in CSS:
body {
background-color: #ffffff !important;
}
and in that case, you’ll have to override this !important with another !important written by your side.
Switching the “Night mode” button will add or remove “wp-night-mode-on” class on <body> tag and you can use that class for overriding existing CSS.
Like this:
body.wp-night-mode-on {
background-color: #000000 !important;
}
That’s it, just a bit of playing with CSS ??
-
This reply was modified 6 years, 4 months ago by markoarula.