Not Solved How switch theme light/dark?
#1
Not Solved
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.
Reply
#2
Not Solved
This might be of use. I've serendipitously just uploaded it:

https://github.com/lairdshaw/mybb-colour-mode-switcher
Reply
#3
Not Solved
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. Big Grin
Reply
#4
Not Solved
(2025-10-22, 08:10 AM)SELLECK87 Wrote: 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. Big Grin

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)