Hi All,
Is there a way to remove or hide the blurb that shows up underneath the Category Name when users mouse over the ALL CATEGORIES drop down menu on the top left hand corner?
See screen shot below where I have the RED box. So in the example below, user will only see HOW TO then BUG etc without a description of what the category is about… thanks
Don
February 12, 2022, 11:02pm
2
Hi there,
The description in the dropdown is shown only for new users at TL0 that need to learn how the site is structured.
The description will be automatically hidden when a user reaches TL1.
As Daniela mentioned, we only show the category description in the dropdown for new users (trust level 0) and it’s hidden for everyone else. The thought is that regular visitors will benefit from seeing more categories at once and the descriptions are less useful.
You can override this behavior by adding this to the head section of your site’s theme (admin > customize > themes > edit html/css):
<script type="text/discourse-plugin" version="0.8">
api.modifyClass("component:category-drop", {
…
But I think if you really want to hide it to new users too then you can change Kris’s code to this.
<script type="text/discourse-plugin" version="0.8">
api.modifyClass("component:category-drop", {
pluginId: "category-dropdown-description",
displayCategoryDescription: false,
});
</script>
5 Likes
@Don THANK YOU so much,will give the script a try.
1 Like
system
(system)
Closed
September 12, 2023, 9:50am
4
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.