# Custom like button no longer appears after

**URL:** <https://meta.discourse.org/t/custom-like-button-no-longer-appears-after/157288>\
**Category:** Product Support\
**Created:** [July 9, 2020, 6:35pm UTC](https://meta.discourse.org/t/custom-like-button-no-longer-appears-after/157288 "2020-07-09T18:35:24Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Steven](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/steven/32/187890_2.png) [@Steven](https://meta.discourse.org/u/Steven)\
**Post date:** [July 9, 2020, 6:42pm UTC](https://meta.discourse.org/t/custom-like-button-no-longer-appears-after/157288/2 "2020-07-09T18:42:46Z")

</div>

There’s been some cleaning up in the [icon library](https://github.com/discourse/discourse/blob/master/app/assets/javascripts/discourse-common/addon/lib/icon-library.js) if I remember correctly.

Could you try adding in the setting : `svg icon subset`, the icons

`fa-thumbs-up`  
`far-thumbs-up`

The script might need some edit too, but I’m not sure if it will work with this

```plaintext
   <script type="text/discourse-plugin" version="0.8"> 
          api.replaceIcon('d-liked', 'thumbs-up'); 
          api.replaceIcon('d-unliked', 'far-thumbs-up'); 
          api.replaceIcon('heart', 'thumbs-up'); // profile pages 
          api.replaceIcon('notification.liked', 'thumbs-up'); // notifications 
    </script>

```

or

```plaintext
   <script type="text/discourse-plugin" version="0.8"> 
          api.replaceIcon('d-liked', 'fa-thumbs-up'); 
          api.replaceIcon('d-unliked', 'far-thumbs-up'); 
          api.replaceIcon('heart', 'fa-thumbs-up'); // profile pages 
          api.replaceIcon('notification.liked', 'fa-thumbs-up'); // notifications 
    </script>

```

I tested on a theme component I use for christmas (gift icon instead of heart) and it works, so the javascript is still good

---

_[View the full topic](https://meta.discourse.org/t/custom-like-button-no-longer-appears-after/157288)._
