2
votes

I am a beginner of using ionic 2, I am faced the issue to change the color of back button text color, i have added a css like below:

ion-header ion-icon.back-button-icon.icon{
   color: #17B97D;
}

But only the arrow changed to the color I wanted the text "Back" not change.

enter image description here

Does anyone know how to change it? Thanks a lot.

1

1 Answers

4
votes

You could add that element to your css rule, like this:

ion-header ion-icon.back-button-icon.icon, 
ion-header span.back-button-text.back-button-text-ios {
   color: #17B97D;
}