Original Poster / Latest Reply avatar on mobile

AI-generated summary

hipp0 asked if it is possible to display only the original poster’s avatar instead of the latest reply’s avatar on mobile. stephtara supported this idea, noting that the original author is often more important than the last responder in their support community. Lilly suggested three theme components: two that add an author column (with or without a posters column) and one specifically for mobile that shows original poster avatars. stephtara reported that the first two components did not visually integrate well with the Air and Horizon themes. Lilly clarified that Horizon is highly uncustomizable and those components likely won’t work, though they should function with the Air theme. She also noted that theme components often lack explicit compatibility lists. stephtara asked if compatibility is ever indicated, to which Lilly replied that it is rarely documented unless the author specifies it. After stephtara shared a screenshot of the issue on Air, Lilly provided a CSS snippet to hide the posters column and center the author column, which should resolve the display issue for users of the Topic List Author component.

Is there a way to make it so only the original poster avatar is shown on topic post instead of latest reply?

This would be for mobile only.

oh, I’d actually want that on desktop too! in my support community who posted initially is more important than who responded last…

both of these work on mobile and desktop.

adds the author column and has option for the latest poster in posters column:

Adds the author column and removes the posters column:

i think this one is mobile-only:

Hmmm so I tried the first two theme components last night and display-wise didn’t manage to just « replace » one avatar with the other, it didn’t look right at all in both Air Theme and Horizon. Will try again and make screenshots but just wanted to give a heads-up!

i don’t program for horizon, sorry. those first two won’t work with it. Discourse has made horizon pretty uncustomizable. i believe horizon already shows the author and last poster by default?

they should work with air theme tho. i can test when i have time :slight_smile:

you are going to find that not all themes and theme components are compatible with each other, so you will have decisions to make in that regard. :woman_shrugging:t2:

I see! Do composants indicate somewhere which themes they are compatible with?

nope. but sometimes i note it if i know

This is what Topic List Author looks like on Air for me, in case that’s useful:

i had a quick look and adding this code to the css of a local custom component will fix it for you if you are using the Topic List Author theme component.

.full-width .contents .topic-list .topic-list-body .topic-list-item .topic-list-data.posters {
    display: none;
}
.custom-author-column {
  display: flex;
  align-items: center; 
  justify-content: center;
}