How to get rid of has-header class?

I have tried searching this, and have not found answers. Most people seem to want to add the has-header and like the way it is now added dynamically. I am trying NOT to have it.

I have tried adding the class .hide-nav-bar to the ion-view directive.
I have tried adding the attribute hide-nav-bar=“true” to the ion-view directive.
I have tried adding the class .has-header-false to the ion-content directive.

Nothing has worked. The ion-content always ends up with the .has-header class appended to the end. Does anyone know how to get rid of this for these screens?

I don’t know if there’s a better way, but you could create another class and nullify everything set by has-header class.

Just curious, why do you want to get rid of this?

With ionic 1.3 you can add has-header="false"

1 Like