Background Color

Hi…! How is create background color for this ion view?

ion-view title=“CERAMAH 6”>
ion-nav-buttons side=“left”>

/ion-nav-buttons>

/ion-view>

You should be able to stick a background color on the main nav bar with <ion-nav-bar class="bar-calm">. But if you want to override individual views, I have been doing it like this:

<ion-view title="Accounts" hide-nav-bar="true">

  <ion-header-bar class="bar-calm">
    <h1 class="title">New Page</h1>
  </ion-header-bar>

  <ion-content has-header="true">
  </ion-content>
</ion-view>
1 Like

thanks @emcniece