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.

Increase height of ons-tabbar - how?



  • How can I increase the height, text size, and image size of a ons-tabbar? The default size of these items is too small for a specific solution I’m working on. And, I can’t seem to find the CSS that should be modified to increase their sizes.

    Thank you in advance.
    PD



  • change ons-tabbar height:

    • tabbar
    • ons-tabbar__footer

    Example:

    .ons-tabbar_footer{
      height: 80px
    }
    

    change ons-tab text size, icon size and badge (if you need):

    • tabbar__icon
    • tabbar__label
    • tabbar__badge

    example:

    .tabbar__icon{
      font-size: 20px
    }