Hello, I've changed lavender's category.tpl
file, changed 2 things,
- Sidebar is In line, like in home, and subcategories and current category are both at left.
- Added a class to category stuff that allows to hide buttons and posts via css. It is quite workaround but is working.
file is here:
http://paste.ubuntu.com/9377817/
The class name is: .category-stuff-id-{cid} where {cid} is the number of category to be hidden (you can see category id in the browser's address bar after /category/
), via admin panel, exemple, like in my test if one wants to hide category 22 , the person goes to "admin panel" -> "appearance" - > "custom css & html", and add a line at the end:
.category-stuff-id-22 { display: none; }
To use the file change /nodebb/node_modules/nodebb-theme-lavender/templates/category.tpl
for it and then restart nodebb.
edit: if it is not working maybe you need to clear your browser's cache or use incognito mode to test it!!