I would love to achieve a side-by-side layout for my Discourse instance (see attached image). Could anyone please guide me on how to do this? I appreciate any help you can provide!
AI-generated summary
User lilstranded seeks to implement a side-by-side layout in Discourse, with post author details on the left and content on the right, as opposed to the default vertical stack. Initial suggestions include using CSS Flexbox NateDhaliwal, but Canapin notes it can’t be done with CSS alone and would require a theme component. lilstranded confirms CSS tinkering broke the layout. After clarification, manuel agrees CSS alone won’t suffice due to template structure, referencing Epic forums as an example. Arkshine reverse-engineers the Epic layout and shares a working theme component that repositions widgets and adjusts CSS, with a note that post count requires a separate plugin Arkshine. lilstranded confirms success and thanks Arkshine with a celebratory GIF.
CSS Flexboxes, perhaps? Just from the top of my head. Then perhaps using the API/requests to fetch some other data like the post count.
What you want is basically replace horizontal bars with vertical bars?
They could be done with a theme component, and can’t be done with css only.
It would require care to not break anything, and might not be trivial to do ![]()
I’ve tried some basic flex box tinkering but it only broke the layout.
Hello @Canapin! basically i want the post author details on the left and post content on the right instead of them being one on top of the other like the stock discourse layout.
Would be helpful if there are any mods for it.
From what I see, they re-added the data (username, etc.) after the post-avatar widget content, added some width to .topic-avatar, and they hide everything else with CSS except the date. Let me see If I can reproduce it.
You can try this basic theme component: GitHub - Arkshine/discourse-topic-avatar-vertical-layout · GitHub.
- Desktop view only
- It’s compatible with other modifications [1]
- The post count is not included. You need a plugin, like this one: GitHub - Arkshine/discourse-user-post-count · GitHub.
Let me know if you see issues.
It moves the
poster-namewidget under thepost-avatarwidget. No other changes apart from CSS adjustments. ↩︎
That worked like a charm! Thanks a lot, buddy.



