Highlighting the creator of a topic in a thread

I think it would be a good idea if the creator of a topic had their replies in that topic highlighted. This would make following along with replies in a topic easier, especially in categories like Recruitment.

The topic’s creator’s username could be a different color, or be in larger font.

4 Likes

This can be accomplished with a theme as simple as the following code:

.topic-post.topic-owner .topic-meta-data .names .first.username::after {
    content: "OP";
    padding: 0 3px;
    margin-left: 6px;
    font-size: 0.75em;
    border: 1px solid;
    border-radius: 10px;
    align-self: flex-end;
}

image

6 Likes

Cool! I thought this was going to end with a , “Roblox can’t do this, go to meta.discourse.org”.

4 Likes

Keep in mind this isn’t perfect, since replies to a post by OP in the “X Replies” preview will also display OP:

3 Likes

Oh, is there a way to only have it appear for the topic creator? For example, would it be possible to determine the username of the topic creator and then flair all subsequent posts by that creator in the topic only if the username matches?

There probably is; that CSS code is pretty lazy. I don’t feel like scanning the page HTML for another 20 minutes to try and fix it right now though, and you’re unlikely to notice it anyway.