Monaca Onsen UI Discord Chat Github Repo

ons-toolbar: adapting title depending size

  • Hello.

    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!