I’m newbie on Ionic an have some trouble understanding the “ready-made” app demos. I’m using the “sidemenu” template to build my new app. I has a really nice looking headers on “Playlists” and “playlist” templates, also has the autohide “back” button when I move to a different state. It’s a nice and basic app to start.
My problem is that I can’t find anywhere in the code how to change the Header (or nav bar) color to “bar-positive”. I don’t even know if the bar is a “header” or “nav-bar”. what is the correct way to do this?
If you are using the <ion-header-bar> you can add a class attribute using the same classes found here http://ionicframework.com/docs/components/#header. The classes .bar and .bar-header are already applied by the ionNavBar or ionHeaderBar directives.
I found how to change it! the <ion-nav-bar> and <header> were in menu.html. I simply change the “bar-stable” to “bar-positive” in both directives and works perfectly!