# הדגשת ה-OP בשרשור

**URL:** https://meta.discourse.org/t/highlight-op-in-a-discussion/277455
**Category:** Development
**Created:** [1 בספטמבר,‏ 2023,‏ 5:23am UTC](https://meta.discourse.org/t/highlight-op-in-a-discussion/277455 "2023-09-01T05:23:32Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![iamntz](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/iamntz/32/114670_2.png) [@iamntz](https://meta.discourse.org/u/iamntz)
#### Post date: [1 בספטמבר,‏ 2023,‏ 5:23am UTC](https://meta.discourse.org/t/highlight-op-in-a-discussion/277455/1 "2023-09-01T05:23:32Z")

</div>

One thing that Reddit does nicely (and I think FB too) is that they highlight the topic owner in discussions.

You can achieve the same thing with a little CSS added in your theme:

```css
.topic-post.topic-owner .topic-meta-data .username:after {
  content: "OP";
  font-weight: 600;
  color: #fff;
  background: #14aeea;
  padding: 3px;
  font-size: 10px;
  border-radius: 3px;
  display: inline-block;
  margin-left: 5px;
}

```

Every replies added into a topic by its author will have this mini-badge 🕶

The result:

 ![image](https://global.discourse-cdn.com/meta/original/4X/b/b/a/bbad2af5df44c731d4eb594b0fa109c92b8e33fc.png)

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [1 בספטמבר,‏ 2023,‏ 6:36am UTC](https://meta.discourse.org/t/highlight-op-in-a-discussion/277455/2 "2023-09-01T06:36:48Z")

</div>

Nice 🙂

I think we have an open #Contribute > Feature request for this too -

> [@Author badge on Topic Owner's posts](https://meta.discourse.org/t/author-badge-on-topic-owners-posts/171963):
>
> Hello, It’s going to be really good to huge topics…where users know when the OP reply. Appear an Author badge on OP replies… I made it with CSS but I think this maybe could be a core feature or a theme component. slight_smile I target the .topic-owner class but I am sure there is a more elegant way. Like this arrow_down Thank you! slight_smile On desktop I target the .names class .topic-owner article .row .topic-body .topic-meta-data .names::after { content: "Author"; color: …

I think there’s an extra snippet in there as well in case you want to exclude the first post.

---

<div class="post-metadata">

### Author: ![Don](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/don/32/228726_2.png) [@Don](https://meta.discourse.org/u/Don)
#### Post date: [1 בספטמבר,‏ 2023,‏ 6:44am UTC](https://meta.discourse.org/t/highlight-op-in-a-discussion/277455/3 "2023-09-01T06:44:13Z")

</div>

Oh yeah 😅 Thanks Jammy for linking this old topic. I have an updated code for this. I will post it and I think I will move that topic to #Development as well. 👍 Or maybe making a theme component from this would be a better idea. 🤔

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [1 בספטמבר,‏ 2023,‏ 11:45am UTC](https://meta.discourse.org/t/highlight-op-in-a-discussion/277455/4 "2023-09-01T11:45:53Z")

</div>

There is no need for a component. I already copy&pasted 🤣

All **I need** is solving out better expression than OP because finns don’t understand it and up here in north it is name of one bank too. Facebook has quite nice way actually. And yes, I know - off topic again 🤦‍♂️

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [1 בספטמבר,‏ 2023,‏ 12:12pm UTC](https://meta.discourse.org/t/highlight-op-in-a-discussion/277455/5 "2023-09-01T12:12:11Z")

</div>

> [@Jagster](#):
>
> There is no need for a component. I already copy&pasted 🤣

I think having a theme component is useful as it can pick up any updates to the code if there ever are any. It’s also easy to find and install for anyone not familiar with creating their own. 👍

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [1 בספטמבר,‏ 2023,‏ 12:29pm UTC](https://meta.discourse.org/t/highlight-op-in-a-discussion/277455/6 "2023-09-01T12:29:07Z")

</div>

I agree. It was just bad joke, because I’m bored (because of my client is late big time).

A component could give easier option choose location too, I reckon. Because I would like to see it under name, on second line.

---

<div class="post-metadata">

### Author: ![JammyDodger](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jammydodger/32/254611_2.png) [@JammyDodger](https://meta.discourse.org/u/JammyDodger)
#### Post date: [5 בספטמבר,‏ 2023,‏ 7:52am UTC](https://meta.discourse.org/t/highlight-op-in-a-discussion/277455/7 "2023-09-05T07:52:08Z")

</div>

Cross-linking the new theme component 🥳

> [@Author Badge for Topic Posts](https://meta.discourse.org/t/author-badge-for-topic-posts/277579):
>
> information_sourceSummary Add badge to topic owner’s posts.hammer_and_wrenchRepository [https://github.com/VaperinaDEV/author-badge-for-topic-posts](https://github.com/VaperinaDEV/author-badge-for-topic-posts)questionInstall Guide [How to install a theme or theme component](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966) Install this theme component Hello wave With this theme component you can add badge label to the topic owner’s posts. It is really useful on larger topics because you ca…
