A user, boospy, seeks to hide subcategories from the homepage due to the lengthy list of over 50 subcategories. Canapin suggests using CSS to hide subcategories, but boospy clarifies that they want to hide subcategories only from the homepage, not from within the main categories. Heliosurge recommends the Category Hider theme component. Meanwhile, bayardo.rivas asks for help accessing CSS in Discourse version 3.5.0.beta8-dev, and Moin advises using a theme component for customizations. bayardo.rivas shares their approach to hide a specific subcategory using CSS, but later decides to move posts to another category instead of hiding it bayardo.rivas.
i’am search for “how can i hide all subcategories from homepage”. I would like this to do because we have now over 50 subcategories, and it becomes very long to scroll down. Is there a way to hide this subcategories from homepage from on specific maincategorie?
3.1.0.beta2 is installed.
Found this
not tested, but i thing it does something different.
You are so disliking this answer, but you are asking wrong question. You are now trying to solve out an issue that came from your earlier acts and the real question should be:
If I don’t and can’t show sub-categories for users at their first navigation point, and sub-categories will be kind of hidden option, why I’m using sub-categories at all and should I ditch them and use tags instead.
I mean the part directly on startpage. First have one categorie and after you can add subcategories to this “i say” maincategorie. You can see the subcategories under a maincategorie. With dots and the name. This is what i would hide, because it is to long.
After i click directly in a maincategorie, i would like to see alle subcategories there, so the default again.
Ik draai Discourse versie 3.5.0.beta8-dev en ik moet de CSS van het thema bewerken om enkele kleine wijzigingen te testen. Hoe krijg ik toegang tot de CSS? Ik heb enkele handleidingen gevonden, maar die lijken voor de vorige webinterface te zijn en komen niet overeen met de huidige versie. Bedankt voor uw hulp.
Remote themes and default themes do not have the section for customizations. Instead, you can make the changes in a theme component which you add to the theme.
Ik probeer wat CSS-code toe te voegen om de SUBCategorie “Otros” (dit is de slug: Otros-t) te verbergen die dezelfde naam heeft in verschillende hoofdcategorieën. Ik zal proberen een Component toe te voegen zoals je aanbeveelt met deze code:
Om samen te vatten, in mijn geval hoefde ik de categorie niet te verbergen, we hebben de berichten gewoon naar een andere categorie verplaatst en de “problematische” categorie verwijderd. Nogmaals bedankt allemaal.