Apply custom css styling to dashboard elems

#1

Hi,

When using the dashboard nodes, they get displayed in a default page containing style elements depending on what the node can offer. Is it possible to add custom css styling when using for instance the moustache node?

If not; Is there someone who has an alternative way to add custom css to a dashboard node?

Thank you!

0 Likes

#2

Add a ui_templace node and put your CSS in it. You will have to find the ID/class that you want to apply it to.

If you want to see an example look at the 'dashboard' tab in the flow: ET Display Home

0 Likes

#3

Thank you for your reply.

It does seem to work but not always. Im running Node-red locally and it works. When using the ui_template node on a live project it works sometimes? Is this a known issue?

0 Likes

#4

what do you mean by a live project?

0 Likes