Showing results for 
Search instead for 
Did you mean: 

Blox support of themes?

9 - Travel Pro
9 - Travel Pro

We’re working with a Sisense partner to add interactive filters to match the look and feel of our application. They are doing this with a Blox widget and the Wiser plugin.

We’ve run into an issue where we would like the Blox and the Wiser widgets to use the same theming that is used by the rest of the dashboard.

Can Blox be set up to use the theme colors as set by “Look and feel” themes available in the Administrative section of the app?


9 - Travel Pro
9 - Travel Pro

Hi @bpeikes 

Can you elaborate on what you mean by "interactive filters"? 


Generally speaking, you can use the REST API to get info about your themes and the currently used themes by using the "/themes/current" end point. 

Assuming that you need it to be dynamic by a user group or something similar then you'll need to do some JS work to load the current theme and set your CSS accordingly. Keep in mind that this should be an async task so it can get a bit complicated and you should test your work with a slow vs fast network and computing resources. 

If it doesn't need to be dynamic and you simply want to avoid doing manual styling to all your blox widgets that you should move the styling into a custom plugin that would apply the styling in a more generic way so you won't need to apply it everytime. 

Another option is to utilize our widget script manger  plugin to easily inject the scripts and manage them in a centralized place BUT this might be an overkill as this is a commercial option...

Feel free to reach out of you have further questions, we're always happy to help (: 
Paldi Solutions - Number #1 Sisense Plugins Developer 



So there is no way of setting the styles on Blox so that they pick up what ever the native Sisense styling is set to?

Not out of the box as BloX is kind of a fusion between coding a fully customzied widget and configuring a widget so it sits outside of the normal widgets framework. 

Which elements you wish to style? perhaps it's a simple script

Community Toolbox

Recommended quick links to assist you in optimizing your community experience:

Developers Group:

Product Feedback Forum:

Need additional support?:

Submit a Support Request

The Legal Stuff

Have a question about the Sisense Community?

Email [email protected]