I noticed that forums recently have a button in their index that switches from a dark theme to a light one and vice versa. How can I achieve the same result? Thank you in advance for any answers.
How switch theme light/dark?
|
|
This might be of use. I've serendipitously just uploaded it:
https://github.com/lairdshaw/mybb-colour-mode-switcher
2025-10-22, 08:10 AM
(This post was last modified: 2025-10-22, 12:28 PM by SELLECK87. Edited 1 time in total.)
Wow! I'll try it right away. Thank you so much 😎
I just have one question. Since I currently have a green (light) forum, all I need to do is duplicate it and work on the CSS, of course. Once that's done, I just need to follow the guide in your link. Right? I don't want to do unnecessary double work.
(2025-10-22, 08:10 AM)SELLECK87 Wrote: Wow! I'll try it right away. Thank you so much 😎 I hadn't seen you'd edited your post until now, hence the very delayed response to your question: Yes, that should be it (enter your duplicated theme's tid in the plugin's settings as the "Roundo" theme's tid, even though it's not the Roundo theme). If you encounter any difficulties, let me know. |
|
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)
How switch theme light/dark?