# Template overrides no longer working

**URL:** https://meta.discourse.org/t/template-overrides-no-longer-working/238074
**Category:** Bug
**Created:** [September 4, 2022, 8:31am UTC](https://meta.discourse.org/t/template-overrides-no-longer-working/238074 "2022-09-04T08:31:16Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![theSuess](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/thesuess/32/214128_2.png) [@theSuess](https://meta.discourse.org/u/theSuess)
#### Post date: [September 4, 2022, 8:31am UTC](https://meta.discourse.org/t/template-overrides-no-longer-working/238074/1 "2022-09-04T08:31:16Z")

</div>

After I upgraded our instance from 2.9.0-beta.5 to 2.9.0-beta.9, our custom override of the pinned banner is no longer working. I’ve tried out the other examples listed in [Developing Discourse Themes & Theme Components](https://meta.discourse.org/t/developer-s-guide-to-discourse-themes/93648) and while the plugin outlets still work, overriding entire handlebars themes does not work.

To reproduce, include something like this in your theme custom html/css

```plaintext
<script type="text/x-handlebars" data-template-name="components/discourse-banner">
<div style="height: 25px; width: 25px;background: red"></div>
</script>

```

which should replace the banner with a red box. However, nothing happens.

I’d appreciate any help to debug this further

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [September 4, 2022, 11:03am UTC](https://meta.discourse.org/t/template-overrides-no-longer-working/238074/3 "2022-09-04T11:03:19Z")

</div>

Thanks for the report @theSuess. This fix should hit tests-passed in about 20 minutes

[https://github.com/discourse/discourse/pull/18178](https://github.com/discourse/discourse/pull/18178)

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [September 6, 2022, 7:00am UTC](https://meta.discourse.org/t/template-overrides-no-longer-working/238074/4 "2022-09-06T07:00:30Z")

</div>

This topic was automatically closed after 23 hours. New replies are no longer allowed.
