Slidemenu Template: how to give the ion-header-bar an id


#1

is there a way to give the ion-header-bar an id when using the sidemenu template so,i can manipulate the header style.
I don’t wanna manipulate the style of the header by giving the ion-nav-bar a class because i want to do this in the controller logic so i can give the header different style for each view .


#2

There are some good answers on how to do this below if you are trying to style the ion-nav-bar. I’m a bit confused by your question since you mention both.


#3

in sidemenu template there is no ion-header-bar seems generated and in my case i want to give it an id so i can use getElementById then manipulated if i did this with ion-nav-bar which exist in the menu.html i can’t do for example change the background color .