# Disable the ability to unpin a topic by clicking on the toggle (pin icon)

**URL:** https://meta.discourse.org/t/disable-the-ability-to-unpin-a-topic-by-clicking-on-the-toggle-pin-icon/393585
**Category:** Development
**Tags:** pinned-topics
**Created:** [15 januari 2026 om 19:27 UTC](https://meta.discourse.org/t/disable-the-ability-to-unpin-a-topic-by-clicking-on-the-toggle-pin-icon/393585 "2026-01-15T19:27:53Z")
**Posts on this page:** 1
**Showing post:** 1

<div class="post-metadata">

### Author: ![Denis\_Advert](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/denis_advert/32/543523_2.png) [@Denis\_Advert](https://meta.discourse.org/u/Denis_Advert)
#### Post date: [15 januari 2026 om 19:27 UTC](https://meta.discourse.org/t/disable-the-ability-to-unpin-a-topic-by-clicking-on-the-toggle-pin-icon/393585/1 "2026-01-15T19:27:53Z")

</div>

Maybe someone will need it

Simply insert the code into the theme component, in the CSS section

Don’t forget to connect the component to your theme

`a.pin-toggle-button {`  
`pointer-events: none !important;`  
`cursor: not-allowed !important;`  
`opacity: 0.6;`  
`}`

---

_[View the full topic](https://meta.discourse.org/t/disable-the-ability-to-unpin-a-topic-by-clicking-on-the-toggle-pin-icon/393585)._
