sandoche / Darkmode.js

🌓 Add a dark-mode / night-mode to your website in a few seconds
https://darkmodejs.learn.uno
MIT License
2.72k stars 176 forks source link

Darkmode toggle is behind other HTML element #41

Closed eliasbenb closed 4 years ago

eliasbenb commented 4 years ago

So I can't click the toggle because it's behind an HTML element.

I tried making a CSS file and putting this:

.darkmode-layer, .darkmode-toggle{
    z-index: 999;
}

But I have 0 experience with CSS so I'm not sure if that's correct. Any ideas?

curtismchale commented 4 years ago

Do you have a link to the site? I did have to use CSS as above and it worked for me.

eliasbenb commented 4 years ago

Do you have a link to the site? I did have to use CSS as above and it worked for me.

Thank you for the reply. The website is https://eliasbenb.github.io/ any help would be appreciated.

curtismchale commented 4 years ago

Just went and looked and I don't see the darkmode toggle at all nor do I see darkmode anywhere in your source code.

Can't help if it's not on the site.