I’m very new to ionic and just started learning it. I’ve spend a whole day looking for how to change color of ionic header (Top Title) and I’ve tried everything but I am not able to change the color (Very new to ionic)
Have installed cordova, ionic and other dependencies. I’m trying this code in pages/home.html
<ion-header> <ion-navbar> <ion-title> <div class = "bar bar-header bar-positive"> <button class = "button icon ion-navicon"></button> <h1 class = "title">Header Buttons</h1> <button class = "button icon ion-home"></button> </div> <div class = "bar bar-subheader bar-assertive"> <h2 class = "title">Sub Header</h2> </div> </ion-title> </ion-navbar> </ion-header>
I just see two big bars and no style is being applied… like color. Do I need to install some plugin to make this work? I’m trying to create a header and a subheader but seems I’m missing something very obvious… Pls assist.