Hi everyone!
I’m searching for a way to center the navbar title on Android. Any idea?
What’s about
.md .navbar .title {
text-align: center;
with: 100%;
}
Either you change feamework7.css or add it to your app specific css. In this case maybe with !important attribute.
Best Regards
Andreas
1 Like
Thanks that did it! Just had to add some margin on the right because I have a menu on the left.
A simpler possible solution:
var app = new Framework7({
navbar: {
mdCenterTitle: true
},
});
(See https://framework7.io/docs/navbar.html#navbar-app-parameters)
3 Likes