change widget style

0
Hi there, Is it possible to change the css of a widget? I am using the google gantt chart widget and I want to change the style. Thanks.
asked
3 answers
3

Hi Daniel, You can indeed do this by inzipping yout widget, change the css and zip it again, but  this will make it  harder to update your widget. 

You can also add a class to your widget and use this class in your own scss filed to override the styling of the widget with your own styling.

answered
1

You can access the CSS files inside a widget by unzipping it, making your changes, and zipping it back up with a .mpk file extension.

It’s probably best to rename the widget if you are making changes like this as any upgrades from the App Store will cause you to loose your changes.

answered
0

just use an html snippet and put it next to the widget or in a layout

<style>
    .foo>.bar{
        background:#123456;

    }
</style>

 

answered