Selectively hiding numbers

AI-generated summary

The discussion is about selectively hiding numbers in a Discourse forum, specifically in the category section. CommunityJ wants to remove the number of replies from the category section, but when attempting to do so using display: none, it also disappears from the latest section due to shared class and id names. rishabh suggests looking at similar theme components and provides links to related reading. However, CommunityJ explains that the issue persists. Jonathan5 hints at a possible solution, mentioning that the body tag in the two pages has different classes, which could be used to target the category section specifically.

I am an employee at Jupiter.community (Categories - Jupiter Community). I wanted to remove the number of replies showing in the category section, however when I create a component and use display: none, it also disappears from the latest section. How do I create a theme component to only remove it from the category section?


Have a look at Hide Users Column for a similar Customization > Theme component.

Hiding a single column is as easy as adding a few lines of CSS to your theme e.g. How to hide the "views" column? - #5 by jidetheblogger

Related reading:

Yes, I saw this. However, when I try to remove it from the category section it also disappears from the latest section since both use the same class and id names. How do I remove the numbers ONLY from the category section?

The body tag in each of those two pages has different classes.