Users are reporting a bug in the Horizon theme where the category heading container becomes sticky on scroll, consuming excessive screen space, particularly on mobile devices. jrgong noted that adding images or icons exacerbates the issue, as the category-heading remains fixed within the list-controls container. chapoi explained that this is an unintended side-effect of keeping navigation visible; the sticky property applies to the entire container, and moving it down is technically difficult due to flexbox constraints.
While nathank acknowledged the feature works well on desktop, they highlighted that on mobile, the persistent category description obscures the topic list. Aurora shared a CSS workaround to disable the sticky behavior entirely on mobile screens. However, nathank pointed out that this removes both the navigation and description, whereas the goal is to keep navigation sticky while hiding the description. awesomerobot clarified that CSS alone cannot separate these elements without restructuring the layout, which risks breaking other themes.
nathank suggested hiding the category description on mobile via CSS as a default solution, arguing it is unlikely anyone prefers the current layout on small screens. chapoi initially dismissed this as a matter of preference, but nathank countered that the design seems unintentional for mobile. chapoi ultimately decided to leave the behavior as-is to avoid confusing users who might expect the banner to appear, noting it is easily hideable. nathank raised a valid concern that users on free hosting plans cannot add custom CSS, suggesting a theme setting might be a better long-term fix.
I don’t have a solution for it unfortunately. The category heading is in the same sticky element as the navigation, and I can’t move the sticky property a level down, because sticky doesn’t work within a flexed element…
I’d advise you to hide or minimise the logo with css on mobile.
While this is lovely on desktop, when space gets tight (e.g. on mobile) this makes the Topic list quite difficult to read (especially if the text is quite extensive)
This is an unintended side-effect of wanting to keep the navigation visible actually. I’m not sure it can be fixed (both elements may be in the same container or something? ) and if I have to choose, I’ll stick with my original intend.
If someone feels like taking a look, be my guest though.
Right, unfortunately there’s not a simple way to do this using CSS without also restructuring the layout.
The Horizon theme currently makes the entire .list-controls container sticky, which includes the category header. We can’t make the child .navigation-container sticky on its own, because sticky elements are stuck within their parent scrolling context.
We could restructure this area, but it’s one of those changes that would impact all the themes that style using the existing structure… so there’s a good chance of regression for other themes and customizations, even if they don’t have a sticky nav like this.
I do wonder if we should simply hide the category description on mobile for Horizon. It is kind of doubling up information anyway, in a space that is very tight.
I’ve achieved this with some simple CSS in the Mobile tab of a TC:
Yeah, but in this case it is a wider issue with the Theme rather than just my preference. I find it hard to imagine someone who would actually like a large sticky category description on mobile devices - I don’t think that was ever your intent with the design.
It genuinely is unpredictable what people want in their community. I’m opting to leave it as-is, it’s easily hide-able if people choose to and that path is less confusing then “why doesn’t my category banner appear on mobile”.