Fixed headers with transitions


#1

Is there a way to have fixed headers and only the content gets moved in transition? The headers remain fixed and don’t move?


#2

Without seeing your code, I suspect you have something structured incorrectly.

My headers remain fixed with my apps.

Can you share a sample of two views that demonstrate this?


#3

I am new to ionic i actually want a fixed logo

<ion-header>
       <a  (click)="goToRoot()" ><img src="assets/img/topBar-iPad.png" alt=""/></a>
</ion-header>

#5

Try wrapping your img in an <ion-navbar>

<ion-header>
 <ion-navbar>
   <a  (click)="goToRoot()" ><img src="assets/img/topBar-iPad.png" alt=""/></a>
 </ion-navbar>
</ion-header>

#6

I tried this before the whole page moves. I am using native transitions but I believe it did this with the normal ones.

Its proving to be difficult.