# How to add top bar?

**URL:** <https://meta.discourse.org/t/how-to-add-top-bar/70569>\
**Category:** Product Support\
**Created:** [22 september 2017 om 11:01 UTC](https://meta.discourse.org/t/how-to-add-top-bar/70569 "2017-09-22T11:01:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![fefrei](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/fefrei/32/119538_2.png) [@fefrei](https://meta.discourse.org/u/fefrei)\
**Post date:** [22 september 2017 om 11:31 UTC](https://meta.discourse.org/t/how-to-add-top-bar/70569/2 "2017-09-22T11:31:48Z")

</div>

That’s relatively easy to do 🙂  
Here’s how you get started: In Admin, go to Customize. There, you can create and edit themes and theme components. Create a new theme component, and give it a sensible name. Then, you can edit CSS and HTML there.

You’ll want to add the HTML for the bar in the Header section. Here’s a skeleton to get started – it’ll be themed like Discourse itself:

```html
<div class="custom-header">
    <div id="top-navbar" class="wrap">
        <ul class="nav nav-pills" style="margin: 0px;">
            <li class="top-navbar-links">
                <a href="https://meta.discourse.org/">Amazing Link</a>
            </li>
            <li class="top-navbar-links">
                <a href="https://meta.discourse.org/">Wonderful Link</a>
            </li>
        </ul>
    </div>
</div>

```

Don’t forget to enable the new theme component in the Default theme when you’re done 🙂

---

_[View the full topic](https://meta.discourse.org/t/how-to-add-top-bar/70569)._
