# How to override the site-header.hbs file from custom theme?

**URL:** <https://meta.discourse.org/t/how-to-override-the-site-header-hbs-file-from-custom-theme/318065>\
**Category:** Development\
**Created:** [July 24, 2024, 9:15am UTC](https://meta.discourse.org/t/how-to-override-the-site-header-hbs-file-from-custom-theme/318065 "2024-07-24T09:15:58Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)\
**Post date:** [July 24, 2024, 11:39am UTC](https://meta.discourse.org/t/how-to-override-the-site-header-hbs-file-from-custom-theme/318065/2 "2024-07-24T11:39:05Z")

</div>

> [@aslangm](#):
>
> I’m trying to override site-header.hbs in my custom theme

You’re trying to do something else for which you think overriding the template is the solution. Overriding templates is fragile and likely to cause issues down the road. What is it that you’re trying to do to the header that you can’t do with a plugin outlet?

---

_[View the full topic](https://meta.discourse.org/t/how-to-override-the-site-header-hbs-file-from-custom-theme/318065)._
