Skip to main content
1-Visitor
January 23, 2020
Question

style theme to value display widget

  • January 23, 2020
  • 8 replies
  • 2800 views

Hi everyone!

 

I have created one style theme to use in the value display widget in my dashboard and it is work well.

 

But I have created other style theme to use in other value display widget in other  mashup and when I binded that style theme on my value display all others changed too.

 

Is there any way to use one style theme to each value display?

 

Regards

Leonardo

8 replies

22-Sapphire I
January 24, 2020

I'm not good with CSS but each widget can be assigned a CSS custom style

So in your main theme you can  provide definitions for each custom style.

Then per widget you assign the appropriate custom style

1-Visitor
January 24, 2020

Hi @PaiChung 

 

Thanks for your answer.

 

I have thinked it too, but what happens is the follow:

 

In my image below when I change the style theme of one value display (for example: red) the all others (blue) change too

 

Value.JPG

 

I would like to provide definitions for each one

22-Sapphire I
January 24, 2020

are you using an 'embedded' approach so that each of these value displays are exactly the same?

i believe you can pass a custom class dynamically if you need to.

Also if you are using some overall class, you may need to remove that and only use the custom class definition.

Final thought, potentially your custom CSS if you are using an embedded mashup needs to be in that mashup vs the parent.

Support
February 21, 2020

Hi @einsfeldleo.

 

If one of the previous replies answered your question, please mark the appropriate one as the Accepted Solution for the benefit of others with the same question.

 

Regards.

 

--Sharon