# How to hide the header and tabs on scroll

**URL:** <https://forum.ionicframework.com/t/how-to-hide-the-header-and-tabs-on-scroll/6590>\
**Category:** ionic-v1\
**Created:** [July 9, 2014, 7:05am UTC](https://forum.ionicframework.com/t/how-to-hide-the-header-and-tabs-on-scroll/6590 "2014-07-09T07:05:47Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 11, 2014, 2:28pm UTC](https://forum.ionicframework.com/t/how-to-hide-the-header-and-tabs-on-scroll/6590/11 "2014-07-11T14:28:35Z")

</div>

You can definitely make it so the tabs are on top when the header and footer are hidden.  
Make use of ng-class for this.

> **[lGCfh](https://codepen.io/mhartington/pen/lGCfh)**
>
> Forked from \[Asad\](http://codepen.io/asadfida/)'s Pen \[igHpr\](http://codepen.io/asadfida/pen/igHpr/)....

As for making it show only when you scroll up, take a look at our shrinking header demo.

> **[Shrinking Header: Nightly](https://codepen.io/ionic/pen/hIzFp)**
>
> A quick demo of a shrinking header, like ...

This should get you in the right direction.

---

_[View the full topic](https://forum.ionicframework.com/t/how-to-hide-the-header-and-tabs-on-scroll/6590)._
