Format all widget titles using Dashboard Script


1 comment

  • Avatar
    Elliott Herz

    Here's kind of a way to do it. It's not perfect, and was pretty quick, but does basically what you want. Maybe the text alignment can be better.


    dashboard.on('widgetinitialized', (el, args) => {
    .css('background-color', 'yellow')
    .css('color', 'black')
    .css('font-family', 'Arial')
    .css('font-weight', 'bold');

    .css('font-size', '16px')
    .css('padding-left', '38%');

    Hope this helps!
    Best, Elliott
    Comment actions Permalink

Please sign in to leave a comment.