# My ion-content starts under nav-bar

**URL:** <https://forum.ionicframework.com/t/my-ion-content-starts-under-nav-bar/100791>\
**Category:** ionic-v3\
**Created:** [August 3, 2017, 8:20pm UTC](https://forum.ionicframework.com/t/my-ion-content-starts-under-nav-bar/100791 "2017-08-03T20:20:43Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![hmolinaesi](https://avatars.discourse-cdn.com/v4/letter/h/7bcc69/32.png) [@hmolinaesi](https://forum.ionicframework.com/u/hmolinaesi)\
**Post date:** [August 3, 2017, 8:20pm UTC](https://forum.ionicframework.com/t/my-ion-content-starts-under-nav-bar/100791/1 "2017-08-03T20:20:43Z")

</div>

Hi again!

I have an issue, and I search all the afternoon but all the things I’ve tried didn’t worked. The thing is, that I have a page that content a ion-list, but I don’t know why, that list starts under the navbar, and the first item don’t shows well.

My html code right now:

```auto
<ion-header>
  <ion-header>
    <ion-navbar>
      <ion-title>Entrenamientos predefinidos</ion-title>
      <button ion-button menuToggle>
          <ion-icon name="menu"></ion-icon>
      </button>
    </ion-navbar>
  </ion-header>
</ion-header>

<ion-content padding class="has-header">

     <ion-list>
        <ion-item>
          <ion-avatar item-start>
            <img src="assets/img/avatar.png">
          </ion-avatar>
          <h2>Infierno piernil</h2>
          <p>Te va a dejar las pataas del revés</p>
        </ion-item>
        <ion-item>
          <ion-avatar item-start>
            <img src="assets/img/avatar.png">
          </ion-avatar>
          <h2>Brutal hardcore experience</h2>
          <p>Britil hirdciri ixpiriinci</p>
        </ion-item>
        <ion-item>
          <ion-avatar item-start>
            <img src="assets/img/avatar.png">
          </ion-avatar>
          <h2>Lightweight babeeeeee</h2>
          <p>Ronnie y sus pechotes</p>
        </ion-item>
        <ion-item>
          <ion-avatar item-start>
            <img src="assets/img/avatar.png">
          </ion-avatar>
          <h2>Strongman Tarrako's breakfast</h2>
          <p>Muerte a los flamencos</p>
        </ion-item>
        <ion-item>
          <ion-avatar item-start>
            <img src="assets/img/avatar.png">
          </ion-avatar>
          <h2>Parra es to pesao</h2>
          <p>No te van a llamar</p>
        </ion-item>
        <ion-item>
          <ion-avatar item-start>
            <img src="assets/img/avatar.png">
          </ion-avatar>
          <h2>El Melli de Lepanto</h2>
          <p>Cómprate unas manos</p>
        </ion-item>
        <ion-item>
          <ion-avatar item-start>
            <img src="assets/img/avatar.png">
          </ion-avatar>
          <h2>Dani me come los huevers</h2>
          <p>Brutal abandon en el wow</p>
        </ion-item>
      </ion-list>

</ion-content>

```

and a screenshot of my device inspector that shows the issue:

![image](https://global.discourse-cdn.com/ionicframework/original/3X/a/3/a3951439c14038bd4c1646b978f28b83f260eb56.jpg)

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [August 3, 2017, 8:36pm UTC](https://forum.ionicframework.com/t/my-ion-content-starts-under-nav-bar/100791/2 "2017-08-03T20:36:27Z")

</div>

Why do you have nested `<ion-header>` elements? Additionally, what is the point of the “has-header” class?

---

<div class="post-metadata">

**Author:** ![hmolinaesi](https://avatars.discourse-cdn.com/v4/letter/h/7bcc69/32.png) [@hmolinaesi](https://forum.ionicframework.com/u/hmolinaesi)\
**Post date:** [August 4, 2017, 6:03am UTC](https://forum.ionicframework.com/t/my-ion-content-starts-under-nav-bar/100791/3 "2017-08-04T06:03:36Z")

</div>

Wow, I had not seen the double ion-header O\_O

The has-header class is one of the “solutions” of the problem that I found googling.

---

<div class="post-metadata">

**Author:** ![rapropos](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/rapropos/32/100227_2.png) [@rapropos](https://forum.ionicframework.com/u/rapropos)\
**Post date:** [August 4, 2017, 6:19am UTC](https://forum.ionicframework.com/t/my-ion-content-starts-under-nav-bar/100791/4 "2017-08-04T06:19:41Z")

</div>

> [@hmolinaesi](#):
>
> The has-header class is one of the “solutions” of the problem that I found googling.

All of us, including me, have [cargo culted](http://www.catb.org/jargon/html/C/cargo-cult-programming.html) at some point in our careers. It’s a really important instinct to try to avoid as much as possible.

---

<div class="post-metadata">

**Author:** ![hmolinaesi](https://avatars.discourse-cdn.com/v4/letter/h/7bcc69/32.png) [@hmolinaesi](https://forum.ionicframework.com/u/hmolinaesi)\
**Post date:** [August 5, 2017, 4:47pm UTC](https://forum.ionicframework.com/t/my-ion-content-starts-under-nav-bar/100791/5 "2017-08-05T16:47:14Z")

</div>

> [@rapropos](#):
>
> Why do you have nested \<ion-header\> elements? Additionally, what is the point of the “has-header” class?

This solved my problem. The nested header tags of the hell 😮 thx for the help and sorry for my lamentable vision hahaha
