# Change header content / add new header above

**URL:** <https://forum.ionicframework.com/t/change-header-content-add-new-header-above/3377>\
**Category:** ionic-v1\
**Created:** [April 25, 2014, 7:04am UTC](https://forum.ionicframework.com/t/change-header-content-add-new-header-above/3377 "2014-04-25T07:04:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jgx](https://avatars.discourse-cdn.com/v4/letter/j/d07c76/32.png) [@jgx](https://forum.ionicframework.com/u/jgx)\
**Post date:** [April 25, 2014, 7:04am UTC](https://forum.ionicframework.com/t/change-header-content-add-new-header-above/3377/1 "2014-04-25T07:04:12Z")

</div>

Hello,  
I need to modify the header content of my view (tab view), but I don’t see any way to do it.  
Basically, here is what I want to do :  
 ![](https://sea1.discourse-cdn.com/ionicframework/uploads/default/577/146ee3289aa3a6ec.jpg)

When the user click on the search icon, a input appears in the header.  
I tried to add a header inside my ion-view to display it above the main header but it doesn’t work…

```
<ion-view title="Analyses">
    <ion-nav-buttons side="right">
        <a class="button button-icon icon ion-ios7-search-strong" ng-click="toggleSearch()"></a>
    </ion-nav-buttons>
    <div style="z-index:9999;" class="bar bar-header bar-positive" ng-if="activeSearch">
        <input type="search">
    </div>
    <ion-content>...</ion-content>
</ion-view>

```

---

<div class="post-metadata">

**Author:** ![Calendee](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/calendee/32/13656_2.png) [@Calendee](https://forum.ionicframework.com/u/Calendee)\
**Post date:** [April 28, 2014, 3:18pm UTC](https://forum.ionicframework.com/t/change-header-content-add-new-header-above/3377/2 "2014-04-28T15:18:22Z")

</div>

How about using a subheader instead. You can have a sub-header with an inset search field.

> **[Ionic Framework](https://ionicframework.com/docs/components/#bar-inputs)**
>
> Ionic is the app platform for web developers. Build amazing mobile, web, and desktop apps all with one shared code base and open web standards
