Also, I already tried
.backstretch {
--wp-dark-mode-bg: transparent !important;
}
but it doesn’t change anything
I’m using the Newspaper theme, if it can help.
Ok, so, if it helps anyone having the same issue. I added this in my CSS:
html.wp-dark-mode-active {
background-color: var(--wp-dark-mode-bg) !important;
}
Now it works.
Seems that my theme (Newspaper) was overriding something.
Hi There,
We appreciate you for fixing the issue yourself.
The theme’s CSS may have been given priority in some cases, which may explain the color mismatch. If you can make those colors essential by custom CSS for the elements that display the incorrect color, it ought to function well.
Thanks a ton for being with us.
We are glad to know that your problem has been solved. Some themes’ css gets the highest priority over the plugin CSS that’s the reason some element doesn’t work properly. In this case, you can fix it using our custom CSS.
Refer to this tutorial to know how to use our custom CSS feature.👉 Tutorial
Thanks.