Is there an easy way to remove these two buttons? Reason I’m asking is that I’ve been reading (on this site) of some people’s opinions about Discourse being a little overwhelming to new users. I just feel the categories button is a little redundant since the categories tab is right there and if an experience user wants to search by tag he can use the side menu. I like the feature but it makes things a little ‘cluttered’ IMHO
I realize I could find the CSS tags and hide them but I was wondering if there was a less hacky way of accomplishing this task. I guess a nice feature would be to allow users to turn them on themselves later when they are comfortable with the platform.
(I left the buttons alone, and hid the tag section from the side menu. It either gets long and unwieldy, or you have to specify which default tags to show, and I didn’t want to play favorites )
CSS
// suppress tag list from sidebar to simplify appearance
.sidebar-section[data-section-name="tags"] {
display: none
}
I’ve chosen to completely hide the sidebar by default for anonymous users (non-logged in users or visitors) using a simple component by Don to do the trick. find it here (Thanks Don)
I felt that everybody with a phone knows to look for the hamburger button if you want to see the menu or setting and to me the UI looks way less confusing and scary without the sidebar (at least at first). Eventually once folks get familiar with the interface (or become members), they will discover the sidebar.
So anyhow….
here is the special sauce I figured out to make the two buttons go away:
.category-breadcrumb {
display: none
}
feel free to correct me if this isn’t how this should be done
IMHO it makes the UI a little cleaner with no loss of functionality
Andy
edit to add:
I noticed the two buttons go away on mobile by default so obviously the developers didn’t feel like the world would end if these buttons didn’t show
and on mobile discovery (/latest, etc) pages in some themes, such as FKB Social.
You mention that you removed them because “the categories tab is right there” - assuming you mean the nav pill button, you have to click it to go the categories page then find the category you want to go to - it is much more intuitive to select from the category dropdown to go straight to where you want to go, especially if one is looking for a subcategory. Also, how does a user do tag navigation on your site now?
but…. would a new user know where they want to go? Would they be looking for a subcategory?
sidebar menu?
is a first time user going to know to look for a specific tag?
Maybe my approach is misguided. I’m trying to look at my instance from the point of view of a first time user which is hard for me because I used a Discourse forum for several years before I started my own.
Maybe another unique thing about my particular situation might not be typical of Discourse in general. I do live events (sports event coverage). People often walk up at these events and want to learn more about how to find me on the web. During broadcasts I also encourage people to find the forum. I have signage and stickers with QR codes that link to the forum.
Some of these folks are young and savvy phone users. Others are old folks who own a phone but can barely use it to answer a call when it rings. I’ve stood and watched both groups stare at the forum and not know what to do next. This isn’t a Discourse problem specifically, I’ve seen them do the same thing on my you tube channel
I ultimately decided to not eliminate the Category and Tags buttons using css as described above because once a user clicked into a category, there was no way to return to the category list view. I recently found this theme component which may provide a solution