# When categories set as home page, sidebar jumps down and "all categories" is highlighted

**URL:** <https://meta.discourse.org/t/when-categories-set-as-home-page-sidebar-jumps-down-and-all-categories-is-highlighted/417491>\
**Category:** UX\
**Created:** [15 בנובמבר,‏ 2026,‏ 4:58pm UTC](https://meta.discourse.org/t/when-categories-set-as-home-page-sidebar-jumps-down-and-all-categories-is-highlighted/417491 "2026-11-15T16:58:15Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Adam\_Root](https://avatars.discourse-cdn.com/v4/letter/a/f08c70/32.png) [@Adam\_Root](https://meta.discourse.org/u/Adam_Root)\
**Post date:** [16 בנובמבר,‏ 2026,‏ 1:04pm UTC](https://meta.discourse.org/t/when-categories-set-as-home-page-sidebar-jumps-down-and-all-categories-is-highlighted/417491/2 "2026-11-16T13:04:31Z")

</div>

Hi @tobiaseigen

This looks like the sidebar is automatically scrolling to bring the active “All Categories” link into view when the page loads.

One possible workaround would be a small theme component customization that keeps the sidebar at the top on initial page load, while still allowing the active category to remain highlighted.

However, I think the better long-term solution would be to handle this in Discourse itself, so the sidebar doesn’t automatically change its scroll position when navigating to the homepage.

Since the behavior seems different between a full page refresh and normal navigation, it may be related to how the sidebar restores its scroll position. That would be worth checking before applying a custom fix.

---

_[View the full topic](https://meta.discourse.org/t/when-categories-set-as-home-page-sidebar-jumps-down-and-all-categories-is-highlighted/417491)._
