Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Connect 2026 Agenda Now Available: Explore Sessions

Change the theme in application

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
saso70
Partner - Creator II
Partner - Creator II

Change the theme in application

Last Update:

May 6, 2022 7:04:09 AM

Updated By:

saso70

Created date:

May 6, 2022 7:04:09 AM

Attachments

I have always wondered how to change the theme in application with native qlik sense extensions.
I am aware that there are extensions on the market for the same purpose but the challenge was how to do it with the objects in the application itself?

My solution is to chenge background layer but this can be apply on theme too, you just need to add your css for theme in multy kpi object :

1. Use Multy KPI extension and add some css. I add 9 multy kpi object with different css for background and add to master items.

2. Create variable vBackgroundLayer and for definition use number 1 or any other number what will be default background layer in app.

3. Add Container and insert all 9 multy kpi objects and add condition
=if(vBackgroundLayer=1,1,0)
=if(vBackgroundLayer=2,1,0)
=if(vBackgroundLayer=3,1,0)
.............................
.............................
=if(vBackgroundLayer=9,1,0)

4. Using 9 buttons we can change the background lyers by color and position
Button settings:
Action: Set Variable value
Variable: vBackgroundLayer
Value: 1

Action: Set Variable value
Variable: vBackgroundLayer
Value: 2

Action: Set Variable value
Variable: vBackgroundLayer
Value: 3

.........................
.........................

Action: Set Variable value
Variable: vBackgroundLayer
Value: 9


5. I don't need any more container to be visible for that purpose i hide the container adding css in my multy KPIs objects

[tid="vkbDYYG"].qs-container
{
display:none!important;

}

 

Labels (2)
Contributors
Version history
Last update:
‎2022-05-06 07:04 AM
Updated by: