Text info box in category header

AI-generated summary

The discussion is about adding a text box to a category header in Discourse. Rene initially asked if it’s possible to have a sticky text box at the top of a category, similar to the info box provided by Discourse. davemaxwell suggested using a pin-up banner. However, downey noted that banner topics are global and don’t work per-category. codinghorror suggested pinning a topic to the category, which Rene found, but they wished it could be category-specific. codinghorror revealed that category pins do exist, accessible from the wrench menu. chrowe expressed the need for a category-specific banner topic, which codinghorror countered might also be ignored by users. Another alternative, suggested by Christopher_Batcheld, is to use the category description, which appears next to the category image/logo. Finally, Rhidian shared a link to a theme component that achieves category headers.

Is it possible to have a sticky text box at top of a category? Something similar to the info box provided by discourse that contains the text “Create at least 5 public topics and 30 public posts to get discussion started. New users cannot earn trust levels unless there’s content for them to read. This message appears only to staff.”?

Sounds like you’re talking about a pin-up banner

thanks @davemaxwell
that’s exactly what I was looking for!

AFAIK banner topics are only global across the entire site, and don’t work per-category, though.

In that case you want to pin a topic to the category.

@codinghorror aargh, you’re right. pinned banners are global. missed that in my first test. It would be cool to have that per category though.

We do have category pins. Select it from the wrench menu.

We find that people ignore the pinned category topics. I think having a category specific banner topic would be really helpful.

Maybe if a banner topic is uncategorized it would be global, and if it is in a category it would only show on pages in that are part of that category.

You will find that people ignore the banner as well. People are very good at ignoring things :wink:

If you set a category image/logo the category description (first paragraph of About topic) shows up in large text next to the logo. That might be sufficient for what you are looking for? Have you seen that feature? It’s found under Edit > Images on the category page.

I was looking for the same thing, Pinned Category Banner - but the logo image will work as well. Of course you end up with an image/logo that you have to come up with / live with…

This is an old topic but it came out top of the search list for ‘category headers’.

This might help…

Better late than never :blush: