# Allow me to prepend the text \[Solved\] on all solved topics

**URL:** https://meta.discourse.org/t/allow-me-to-prepend-the-text-solved-on-all-solved-topics/58392
**Category:** Feature
**Tags:** solved
**Created:** [2017 年3 月 3 日 03:46 UTC](https://meta.discourse.org/t/allow-me-to-prepend-the-text-solved-on-all-solved-topics/58392 "2017-03-03T03:46:15Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### 作者： ![tolkin](https://avatars.discourse-cdn.com/v4/letter/t/b2d939/32.png) [@tolkin](https://meta.discourse.org/u/tolkin)
#### 发布日期： [2017 年3 月 3 日 03:46 UTC](https://meta.discourse.org/t/allow-me-to-prepend-the-text-solved-on-all-solved-topics/58392/1 "2017-03-03T03:46:15Z")

</div>

Not sure if this is the best place to comment about this but I will.

Are there any future plan to prepend “Solved:” in front of the solved question’s title?

That way the Solved: will also appear within the Search Engine Result Pages making it more likely to be clicked thus improving the Forums CTR.

Regards

---

<div class="post-metadata">

### 作者： ![Mazzen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mazzen/32/121178_2.png) [@Mazzen](https://meta.discourse.org/u/Mazzen)
#### 发布日期： [2017 年3 月 3 日 16:58 UTC](https://meta.discourse.org/t/allow-me-to-prepend-the-text-solved-on-all-solved-topics/58392/2 "2017-03-03T16:58:12Z")

</div>

I’d second this request.  
However I’d not prepend a String. There is such a feature for the normal topics overview, e.g. the latest view:

 ![](https://global.discourse-cdn.com/meta/original/3X/c/c/cce1505edef0e7d469724d0590345a4f97535f9f.png)

Is it planed to move the tick symbol to search results as well?

---

<div class="post-metadata">

### 作者： ![tophee](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tophee/32/73406_2.png) [@tophee](https://meta.discourse.org/u/tophee)
#### 发布日期： [2017 年3 月 3 日 19:21 UTC](https://meta.discourse.org/t/allow-me-to-prepend-the-text-solved-on-all-solved-topics/58392/3 "2017-03-03T19:21:48Z")

</div>

How about prepending [solved] invisibly for search engines but keeping visual appearance as it is?

---

<div class="post-metadata">

### 作者： ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### 发布日期： [2017 年3 月 4 日 23:36 UTC](https://meta.discourse.org/t/allow-me-to-prepend-the-text-solved-on-all-solved-topics/58392/4 "2017-03-04T23:36:49Z")

</div>

Today this can be done with CSS `:before` as you have a distinct class for solved topics on topic-list-item

---

<div class="post-metadata">

### 作者： ![jonathon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jonathon/32/265865_2.png) [@jonathon](https://meta.discourse.org/u/jonathon)
#### 发布日期： [2018 年3 月 28 日 11:18 UTC](https://meta.discourse.org/t/allow-me-to-prepend-the-text-solved-on-all-solved-topics/58392/5 "2018-03-28T11:18:47Z")

</div>

I’ve just tried implementing this and the only way I could get it to take effect (with the ability to style it independently of the checkmark) was via:

```css
.fa-check-square-o::after {
	content: " [SOLVED]";
}

```

> **Inspector**
>
> `topic-list-item` doesn’t appear to have a class for “solved”, I can see e.g. “liked”, “pinned”, “visited”, …
> 
> ![appending-solved](https://global.discourse-cdn.com/meta/original/3X/3/0/305225ea56ed0c95862d7aa693b16fbf3a14103c.png)

This isn’t great to read as the `font-family` used is fontawesome, and while it can be overridden it’s an extra place to explicitly set a variable.

The other downside of this is that it doesn’t show in internal search.

If I try to set this as hidden for users but available for external search engines (if this would even work) with e.g.:

```plaintext
.fa-check-square-o::after {
	content: " [SOLVED]";
	display: none;
}

```

then the rule is optimised out of the compiled CSS (whereas `visibility: hidden` leaves a nice gap).

---

<div class="post-metadata">

### 作者： ![notriddle](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/notriddle/32/133055_2.png) [@notriddle](https://meta.discourse.org/u/notriddle)
#### 发布日期： [2018 年3 月 28 日 14:12 UTC](https://meta.discourse.org/t/allow-me-to-prepend-the-text-solved-on-all-solved-topics/58392/6 "2018-03-28T14:12:27Z")

</div>

Wait, what? The CSS isn’t used by search engines! To do that, you need [to modify the noscript version of the page](https://github.com/discourse/discourse-solved/pull/69).
