Provide multiple CSS skins for users
-
Hello,
I created several CSS skins from ACP / Appearance CSS / Custom LESS
I have save the code one by one on several CSS file.
As it stands, I can only offer one theme to users.
Would it be possible to offer users to easily change CSS from a button or other method?
All of the CSS files I have created from the ACP are based on the Persona theme.
Or, would it be possible to insert the CSS file into a copy of this theme for force my CUSTOM CSS?
Thank you for your answers
-
@dunlix said in Provide multiple CSS skins for users:
I think you can add skins to user settings selection through plugins.
Although I still haven’t even got around to making my own plugin yet.Hmm thanks for your responce @dunlix !
if anyone knows how to do this, I'm a taker.
it should be basic integrated with NodeBB or an official plugins -
@julian @psychobunny @psychobunny-0
It's possible to add selection multiple custom CSS user settings on Persona theme ?
-
I have seen this plugin is very interressant: nodebb-plugin-user-css
GitHub - BenLubar/nodebb-plugin-user-css
Contribute to BenLubar/nodebb-plugin-user-css development by creating an account on GitHub.
GitHub (github.com)
Installation is OK but impossible to save the changement
-
Should anyone else stumble across this thread, a solution was provided by sudonix here
https://sudonix.com/topic/216/nodebb-js-script-css-theme-switcher -
-
Something of an update. I've reworked the code, and added some nice looking new color swatches (themes are based off Persona)