# Disable or remove likes from a post

**URL:** <https://meta.discourse.org/t/disable-or-remove-likes-from-a-post/274936>\
**Category:** Support\
**Created:** [August 13, 2023, 8:19am UTC](https://meta.discourse.org/t/disable-or-remove-likes-from-a-post/274936 "2023-08-13T08:19:01Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Lilly](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lilly/32/575047_2.png) [@Lilly](https://meta.discourse.org/u/Lilly)\
**Post date:** [August 13, 2023, 7:39pm UTC](https://meta.discourse.org/t/disable-or-remove-likes-from-a-post/274936/6 "2023-08-13T19:39:22Z")

</div>

once you move them to a category you can do this in common css, just insert the category slug name in the code.

```scss
body.category-YOUR-CATEGORY {
    .widget-button.btn-flat.toggle-like.like.no-text.btn-icon,
    .widget-button.btn-flat.toggle-like.has-like.fade-out.no-text.btn-icon,
    .widget-button.btn-flat.button-count.like-count.highlight-action.regular-likes.btn-text, 
    .widget-button.btn-flat.button-count.like-count.highlight-action.my-likes.btn-icon-text {
    display: none;
    }
}

```

if it happens to be a subcategory, you will need to use the path `parent-category-slug-subcategory-slug`.

edit: updated the code because the first i posted would hide flag counts.

---

_[View the full topic](https://meta.discourse.org/t/disable-or-remove-likes-from-a-post/274936)._
