# How to override \`admin.hbs\`

**URL:** <https://meta.discourse.org/t/how-to-override-admin-hbs/98307>\
**Category:** Development\
**Created:** [September 28, 2018, 8:59pm UTC](https://meta.discourse.org/t/how-to-override-admin-hbs/98307 "2018-09-28T20:59:39Z")\
**Posts on this page:** 1\
**Showing post:** 8

<div class="post-metadata">

**Author:** ![tshenry](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tshenry/32/119495_2.png) [@tshenry](https://meta.discourse.org/u/tshenry)\
**Post date:** [October 9, 2018, 8:53pm UTC](https://meta.discourse.org/t/how-to-override-admin-hbs/98307/8 "2018-10-09T20:53:14Z")

</div>

If using a script that applies `display: none` is an acceptable solution, is there a reason you can’t just use CSS from the start?

```plaintext
.admin-main-nav a[href="/admin/api"] {
    display: none;
}

```

---

_[View the full topic](https://meta.discourse.org/t/how-to-override-admin-hbs/98307)._
