Team Badges on post container

Hello,

I am looking for something like this

Is there an option for this in default discourse, or do I have to code it myself? And if yes, then where exactly can I specify custom css.

Thanks :slight_smile:

1 Like

Some places use the name field. Or a custom title entry.

Screenshots_2022-07-30-20-01-17

I used custom title. Full moderator or admin csn tag custom titles

Hello thanks for the reply!

However, I was talking about the “Lost Ark” Logo behind the actual post content.

1 Like

Have you looked at the CSS to determine how they implemented it?

1 Like

Yes, they did it with a pseudo-element.

1 Like

Have you tried creating a theme component to replicate the look?

3 Likes

Good call! Will try and let you guys know how I proceed :slight_smile:

1 Like

Sounds good - let us know if you have any problems!

1 Like

Hey!

So I tried using the same CSS styling for a test.

Isn’t there also some HTML I need to add? And what would the div look like, never seen such a div class tbf, thats why I am asking, a little bit curious.

Both .topic-post:before { .. } and .topic-post > article:before { .. } work for me. Additional classes depend on how or for whom you want to restrict that view. Not sure on which element you have the .mod-highlight class.

2 Likes

What did you write in the HTML part?

not sure what you mean by that. I didn’t change anything apart from adding the style declaration.

1 Like

Oh yeah, it does work!

Thanks man <3

1 Like