Hoe plaats ik de zijbalk bovenaan, zoals op meta.discourse

AI-generated summary

The discussion revolves around positioning the sidebar in Discourse to appear at the top, similar to the layout on meta.discourse. smileBeda asks how to achieve this, as their sidebar currently appears below the header banner. mcwumbly suggests checking the theme component for the banner, but smileBeda confirms it’s up to date. awesomerobot explains that the welcome link banner component used on meta.discourse is separate and outdated. They provide a fix via a GitHub pull request, which adds a setting to choose the plugin outlet. By setting plugin_outlet to above-main-container, the banner can appear above the content, though not above the sidebar awesomerobot.

Hi, I am using the new sidebar experimental feature of Discourse (cool btw).
I was wondering how I can get it to stick to top, such as it is on this very forum, instead of below the header banner (I am using the same header banner as Discourse uses on the homepage).

In my instance, the header banner spans full width, the sidebar starts only on the height of the category filters.

Unfortunately I cant upload screenshots here…

I couldn’t find settings to control that aspect. Perhaps I miss them?

I think we had the same issue when we originally enabled the sidebar here and had to fix it up. Have you tried updating the theme component for the banner?

Yep, it is updated (Theme is up-to-date, last checked: just now)
Both (banner and sidebar) where installed today actually.

Well, as long its not a particular setting…

The Welcome Link Banner is based on the component we use on Meta, but is actually a separate component that hasn’t been updated yet. I can take a look soon, I think all it needs is the option to be shown in a different plugin outlet.

I’ve made an update to the component that adds a setting to choose a plugin outlet:

https://github.com/discourse/discourse-welcome-link-banner/pull/7

If you change the plugin_outlet theme setting to above-main-container it should appear above the content, but not above the sidebar.