I would love to hide the create topic button from the bar menu, because it confuses people, is there is a way?
1 Like
in common css
[data-section-name="community"] {
.sidebar-section-header-button {
display: none;
}
}
5 Likes
Thanks for the reply, but I would love to hide it only for normal users, as the + functionality changes for the administration ( + is no longer create a topic but rather how to organize the side bar)
Organizing the sidebar I would like to keep
1 Like
To only hide it for regular users, you can make a slight adjustment to the above CSS:
body:not(.staff) {
[data-section-name="community"] {
.sidebar-section-header-button {
display: none;
}
}
}
so now it will only apply to users that are not staff
We have a tutorial about how to make these kind of CSS changes here: Make CSS changes on Your Site
are people expecting it to add a sidebar item rather than create a new topic? or something else?
6 Likes
Thanks for the help!