# How to modify the header HTML, but still remaining the default founctions

**URL:** https://meta.discourse.org/t/how-to-modify-the-header-html-but-still-remaining-the-default-founctions/88291
**Category:** Support
**Created:** [May 23, 2018, 7:28pm UTC](https://meta.discourse.org/t/how-to-modify-the-header-html-but-still-remaining-the-default-founctions/88291 "2018-05-23T19:28:45Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [May 24, 2018, 4:29am UTC](https://meta.discourse.org/t/how-to-modify-the-header-html-but-still-remaining-the-default-founctions/88291/2 "2018-05-24T04:29:19Z")

</div>

You can use the plugin API to add text next to your logo. There are more details from a related question here: [Adding header links post vdom upgrade](https://meta.discourse.org/t/adding-header-links-post-vdom-upgrade/43284)

For example: add this to your theme in the `Header` section

```JS
<script type="text/discourse-plugin" version="0.8">
   api.decorateWidget('home-logo:after', helper => {
  return helper.h('div.custom-text', 'I appear after the logo');
});
</script> 

```

You can then use CSS to target the `.custom-text` div to change the position of your text.

---

_[View the full topic](https://meta.discourse.org/t/how-to-modify-the-header-html-but-still-remaining-the-default-founctions/88291)._
