# Changing like-icon for specific topic

**URL:** https://meta.discourse.org/t/changing-like-icon-for-specific-topic/110162
**Category:** Support
**Created:** [February 26, 2019, 8:17pm UTC](https://meta.discourse.org/t/changing-like-icon-for-specific-topic/110162 "2019-02-26T20:17:44Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Silvanus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/silvanus/32/62831_2.png) [@Silvanus](https://meta.discourse.org/u/Silvanus)
#### Post date: [February 26, 2019, 8:17pm UTC](https://meta.discourse.org/t/changing-like-icon-for-specific-topic/110162/1 "2019-02-26T20:17:44Z")

</div>

Before my upgrade from 2.0.0 to 2.3.0 yesterday, I was using this code in CSS to change the like button for a specific topic:

```
[data-topic-id="65"] button.toggle-like .fa-heart::before {
    background-image: url("/images/emoji/emoji_one/pray.png");
}   

```

It had broken some time ago so that it showed the heart when not liked, but the proper image (pray.png) showed after like was pressed. However, I think the SVG change changes this - now I see only hearts before and after liking, never the proper picture.

How could I fix this? Can it be done with CS??

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [February 26, 2019, 9:05pm UTC](https://meta.discourse.org/t/changing-like-icon-for-specific-topic/110162/2 "2019-02-26T21:05:43Z")

</div>

Try replacing `.fa-heart` with `.d-icon`,

```plaintext
[data-topic-id="65"] nav.post-controls .like-button .toggle-like .d-icon:before {
      background-image: url("/images/emoji/emoji_one/pray.png");
}

```

---

<div class="post-metadata">

### Author: ![system](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/system/32/443519_2.png) [@system](https://meta.discourse.org/u/system)
#### Post date: [March 31, 2022, 1:15am UTC](https://meta.discourse.org/t/changing-like-icon-for-specific-topic/110162/3 "2022-03-31T01:15:12Z")

</div>


