Modifying bar-header in ion-nav-view

I’d just generated a sidebar ion template and I have ion-nav-view that sets title for pages with the view-title attribute.

<ion-view view-title="Playlists">
      <ion-item ng-repeat="playlist in playlists" href="#/app/playlists/{{}}">

After searching around I found the ion-nav-title docs. I tried to take out the view-title attribute and have this in ion-content instead:

      <img src="logo.svg" alt="Show Something please!!!">

I also tried without the image and just the text in ion-nav-title but it wouldn’t work for me. How can I modify the bar-header such that I can add icons or images to it?
I’ve also followed this pen from this topic but it didn’t solve my problem

Hey, have you checked out this post? It could get you going in the right path once you modify it a little. This answer seems to solve the problem. Hope it helps :slight_smile:

Thanks @vokeh this pen solved my problem

1 Like