loading...

re: Add Dark Mode to your Websites with CSS VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Very beautifull! But if I choose the light theme and close the site, the next time I open the site in light mode but the selector is on "auto".
 

That's strange, does it work for other modes?

 

I explain better perhaps you don't understand:
1 I choose the light mode
2 I close the site with the light mode on
3 I reopen the site
3 the select shows me the voice auto instead of light

I just copied the code directly out of the article and it appears to work fine. Do you have any errors coming up? Or a typo perhaps?

I've also made the code available here:
codepen.io/dcode-software/pen/ZEQMEjG

No i havent any error

EDIT now is correct i had a problem with w3 Total Cache

Code of Conduct Report abuse