# Alternatives to lock icon for categories

**URL:** <https://meta.discourse.org/t/alternatives-to-lock-icon-for-categories/24815>\
**Category:** UX\
**Created:** [2015年二月4日 19:45 UTC](https://meta.discourse.org/t/alternatives-to-lock-icon-for-categories/24815 "2015-02-04T19:45:45Z")\
**Posts on this page:** 1\
**Showing post:** 67

<div class="post-metadata">

**Author:** ![dax](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/dax/32/244677_2.png) [@dax](https://meta.discourse.org/u/dax)\
**Post date:** [2018年五月18日 11:03 UTC](https://meta.discourse.org/t/alternatives-to-lock-icon-for-categories/24815/67 "2018-05-18T11:03:00Z")

</div>

Changing an icon globally is very simple using APIs

> [@Change icons globally](https://meta.discourse.org/t/change-icons-globally-using-the-apis/87751):
>
> This is an easy way to change a Discourse icon globally. Right click on the icon you want to change and select “Inspect element” or “Inspect” (depends on the browser) Find the icon name Search a new icon here [Find Icons with the Perfect Look & Feel | Font Awesome](https://fontawesome.com/icons?d=gallery), e.g. [external-link-alt](https://fontawesome.com/icons/external-link-alt?style=solid) Customize and add the code in your admin \> customize \> themes \> edit code -\> JS tab // {theme}/javascripts/discourse/api-initializers/init-theme.gjs import { apiInitializer } from "disco…

---

_[View the full topic](https://meta.discourse.org/t/alternatives-to-lock-icon-for-categories/24815)._
