Original Poster / Latest Reply avatar on mobile

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.

1 Like

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

2 Likes

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:

5 Likes

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

1 Like

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;
}
5 Likes