# Ionnavbar hidding content

**URL:** <https://forum.ionicframework.com/t/ionnavbar-hidding-content/51301>\
**Category:** ionic-v1\
**Created:** [May 5, 2016, 6:19pm UTC](https://forum.ionicframework.com/t/ionnavbar-hidding-content/51301 "2016-05-05T18:19:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![pepitomb](https://avatars.discourse-cdn.com/v4/letter/p/df705f/32.png) [@pepitomb](https://forum.ionicframework.com/u/pepitomb)\
**Post date:** [May 5, 2016, 6:19pm UTC](https://forum.ionicframework.com/t/ionnavbar-hidding-content/51301/1 "2016-05-05T18:19:40Z")

</div>

Hello guys, i’m trying to create my first ionic app, but I’m having problems with ion-nav-bar.

It hides everything I enclose in the `<ion-nav-bar></ion-nav-bar>` tags, I attached a simple example, that it’s having this issue.

```
<ion-side-menus>
    <ion-pane ion-side-menu-content>
        <ion-nav-bar class="bar-balanced">
            <button menu-toggle="left" class="button button-icon icon ion-navicon">Back</button>
        </ion-nav-bar>
        <ion-nav-view>
            <ion-view><h1>CLIENTS</h1></ion-view>
        </ion-nav-view>
    </ion-pane>
    
    <ion-side-menu side="left">
       <!-- Ion Option List -->
    </ion-side-menu>    
</ion-side-menus>

```

In the images, you can see how this code is working, you can see that the `menu-toggle="left"` attribute is working fine, but I can see the icon nor the “back” option on my nav bar.

Any thoughts?

 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/a/e/aef7fc53abaf386416b4a7c462d8e7bd488491f2.PNG)  
 ![image](https://global.discourse-cdn.com/ionicframework/original/3X/d/f/df5942ab95f77e0614d46da0ca1f5a4936fa1c64.PNG)

---

<div class="post-metadata">

**Author:** ![James\_Parsons](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/james_parsons/32/97368_2.png) [@James\_Parsons](https://forum.ionicframework.com/u/James_Parsons)\
**Post date:** [May 5, 2016, 6:22pm UTC](https://forum.ionicframework.com/t/ionnavbar-hidding-content/51301/2 "2016-05-05T18:22:29Z")

</div>

Try using the `<ion-nav-buttons>` directive to add buttons in your header. Place the directive inside your `<ion-view>`.

---

<div class="post-metadata">

**Author:** ![bengtler](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/bengtler/32/98565_2.png) [@bengtler](https://forum.ionicframework.com/u/bengtler)\
**Post date:** [May 5, 2016, 6:32pm UTC](https://forum.ionicframework.com/t/ionnavbar-hidding-content/51301/3 "2016-05-05T18:32:56Z")

</div>

for the backbutton you have to add:  
[http://ionicframework.com/docs/api/directive/ionNavBackButton/](http://ionicframework.com/docs/api/directive/ionNavBackButton/)

and for the toggle button:  
[http://ionicframework.com/docs/api/directive/menuToggle/](http://ionicframework.com/docs/api/directive/menuToggle/)

```auto
<ion-nav-bar>
  <ion-nav-back-button>
  </ion-nav-back-button>

  <ion-nav-buttons side="left">
   <!-- Toggle left side menu -->
   <button menu-toggle="left" class="button button-icon icon ion-navicon"></button>
  </ion-nav-buttons>
</ion-nav-bar>

```

---

<div class="post-metadata">

**Author:** ![pepitomb](https://avatars.discourse-cdn.com/v4/letter/p/df705f/32.png) [@pepitomb](https://forum.ionicframework.com/u/pepitomb)\
**Post date:** [May 5, 2016, 7:38pm UTC](https://forum.ionicframework.com/t/ionnavbar-hidding-content/51301/4 "2016-05-05T19:38:31Z")

</div>

I tried with `<ion-nav-buttons>` inside my `<ion-nav-bar>` tags and It works, I can see the content of my ion-nav-bar BUT now I can’t see the text “CLIENTES” that is under the ion-nav bar.

This is what I updated:  
`<ion-pane ion-side-menu-content> <ion-nav-bar class="bar-balanced"> <ion-nav-buttons side="left"> <button menu-toggle="left" class="button button-icon icon ion-navicon-round"></button> </ion-nav-buttons> </ion-nav-bar> <ion-nav-view> <ion-view><h1>Encuestas</h1></ion-view> </ion-nav-view> </ion-pane>`

---

<div class="post-metadata">

**Author:** ![pepitomb](https://avatars.discourse-cdn.com/v4/letter/p/df705f/32.png) [@pepitomb](https://forum.ionicframework.com/u/pepitomb)\
**Post date:** [May 5, 2016, 10:11pm UTC](https://forum.ionicframework.com/t/ionnavbar-hidding-content/51301/5 "2016-05-05T22:11:37Z")

</div>

Same as with @James_Parsons I can see the content of my ion-nav-bar but now The word “CLIENTES” is not displayed It disapeared

Any idea?
