Notice: The Monaca & Onsen UI Community Forum is shutting down.
For Onsen UI bug reports, feature requests and questions, please use the Onsen UI GitHub issues page. For help with Monaca, please contact Monaca Support Team.
Thank you to all our community for your contributions to the forum. We look forward to hearing from you in the new communication channels.
ons-toolbar: adapting title depending size
philippogol last edited by
I would like to know the proper way to adjust the css of the ons-toolbar element. We are facing the problem with dynamic titles which are bigger than 20 characters.
Changing the .navigation-bar__title on the loading controller with JS is not solving the problem, since it actually changes the current view (then loads the new page) and if a timer is set, it doesn’t look right.
Also, going back to the trigger-page will not reset the css from the ons-toolbar.
Thanks in advanced for the help!