Ion-nav-bar align text issue


#1

Hello,
has anyone encountered when the align-title attribute on ion-nav-bar dosent work?
The title is always on the left, I have tried explicitly add align-title=“right” and it dosent seems to have any effect.
I have also tried to add this to my app module config:

myApp.config(function($ionicConfigProvider) {
    $ionicConfigProvider.navBar.alignTitle('right');
});

same result, no effect.

Any suggestions?


#2

Hmm I’ve tested it using v1.0.0 and v1.0.1 and it is working for me. Any chance you could reproduce this in a codepen? Is it only happening on a device or is it not working in the browser as well?


#3

Thanks for your reply brandyshea!

it will be a bit of a problem for me to upload my project to codepen, it just contains to many files and to capsulate it will be problematic.
do you have an assumtion what might cause this? a starting point to my search of the problem?


#4

Android or iOS? You could search the docs for the .config line to adjust the default platform styling set by Ionic. I think there’s something for this in the JS docs.


#5

Android,
Ill look into that, thanks!