# Customizing Brand Header Theme Component

**URL:** https://meta.discourse.org/t/customizing-brand-header-theme-component/210465
**Category:** Development
**Created:** [November 30, 2021, 1:28am UTC](https://meta.discourse.org/t/customizing-brand-header-theme-component/210465 "2021-11-30T01:28:40Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![hrayner](https://avatars.discourse-cdn.com/v4/letter/h/5f9b8f/32.png) [@hrayner](https://meta.discourse.org/u/hrayner)
#### Post date: [November 30, 2021, 1:28am UTC](https://meta.discourse.org/t/customizing-brand-header-theme-component/210465/1 "2021-11-30T01:28:40Z")

</div>

I’m trying to customize Discourse’s “Brand Header Theme Component”. I’m not sure what approach to take here. I want to add submenu items, e.g. my link structure would look like:

```plaintext
video
audio - books
          - lectures,
topics - web development
           - technology
           - engineering
support

```

But adding submenu items doesn’t come as a standard option with this component. I know there is a [Discourse Header Submenus](https://github.com/discourse/discourse-header-submenus) component which has some of the functionality I want, but only in desktop mode.

There are no plugin outlets available in this component that I’m aware of so I can’t inject code and I don’t think I can override the template because it isn’t part of the core discourse code base so I can’t access it as far as i know (although it is created and maintained by discourse).

The links will be fetched from an API but I’m just trying to hardcode them at this stage.

More generally - is it possible to customize theme components outside of the core discourse repo? What is the appropriate approach to take here?

Thank you for your help!

---

<div class="post-metadata">

### Author: ![meghna](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/meghna/32/453356_2.png) [@meghna](https://meta.discourse.org/u/meghna)
#### Post date: [December 1, 2021, 4:16pm UTC](https://meta.discourse.org/t/customizing-brand-header-theme-component/210465/3 "2021-12-01T16:16:51Z")

</div>

Hi Harley,

> [@hrayner](#):
>
> is it possible to customize theme components outside of the core discourse repo? What is the appropriate approach to take here?

Yes, you can customize the theme component by forking it and make the changes in the code as per your requirement. You should then be able to install that component on your instance via your fork’s GitHub URL.

---

<div class="post-metadata">

### Author: ![hrayner](https://avatars.discourse-cdn.com/v4/letter/h/5f9b8f/32.png) [@hrayner](https://meta.discourse.org/u/hrayner)
#### Post date: [December 1, 2021, 8:43pm UTC](https://meta.discourse.org/t/customizing-brand-header-theme-component/210465/4 "2021-12-01T20:43:39Z")

</div>

Thanks for responding Meghna! Thats great and I’ve made a start with that. I ran into a problem with this approach though - I tried to input new settings into my forked theme component (via my Discourse instance’s theme component admin panel) but the settings from the original theme component were still making it through to my own forked version. I could see a new component was there but it had the same settings as the old one. Do you think it could be because they have the same name? I also tried deleting the original theme component from my theme but that removed both the original and the forked version from the preview of my theme. Thanks for your help!
