That's perfect, thanks!
HOW TO keep theme.css being unchanged
sunqi last edited by
i add some class in public/css/theme.css
but it always changes back. once nodebb restart
So, NodeBB uses .less files to maintain the theming for the site, which then is compiled into .css. The
public/css/theme.cssfile is the compilation of the .less files located in
node_modules/nodebb-theme-*You will need to edit the .less files instead of directly editing that css file.
Below are all of the files that should be edited to change the theme.
For more information on LESS. http://lesscss.org/
I hope this helps!