Skip to main content

How to change the default theme and how to call another theme for a specific application

100% helpful (1/1)
cancel
Showing results for 
Search instead for 
Did you mean: 
Sonja_Bauernfeind
Digital Support
Digital Support

How to change the default theme and how to call another theme for a specific application

Last Update:

May 7, 2021 11:02:42 AM

Updated By:

Sonja_Bauernfeind

Created date:

Jun 20, 2017 9:54:41 AM

Is it possible to direct a user to a specific theme?

Environment:

Qlik Sense Enterprise on Windows 

See Custom Themes to get started with theme basics.

 

How to call a theme for an application other than the default (not recommended)

Open the Qlik Sense hub and add the theme to the default URL: "/theme/thenameofthenewtheme" Any app a user opens from this session will use this theme as long as the URL stays unmodified. 
"/theme/thenameofthenewtheme" is now present on any page that the user navigates to.


Example:


http://localhost:4848/hub/theme/thenameofthenewtheme
http://localhost:4848/sense/app/Helpdesk%20Management.qvf/sheet/1ff88551-9c4d-41e0-b790-37f4c11d3df8/state/analysis//theme/thenameofthenewtheme

How to change the default theme (not recommended)

The default theme can be changed by modifying both "themes\modern\sense" and "themes\old\sense".
However, themes are cached from both sides the (browser) clients and even from the Sense webserver, so you will never see the change instantly. If CTR + F5 does not help for the browser, then you need probably to restart Server Services (Proxy especially) and clear the cache of the browser. A trick to test changes instantly is to rename the theme subfolder all times after a change
eg. thenameofthenewtheme to thenameofthenewtheme2 and so on

Advanced theme management

Using mashups and  implementing users and theme management in your code allows for different apps (with different themes) for different users or groups. As we are talking about Qlik Sense, the duplication of apps will not increase the memory consumption as the same data model is used. So this will not affect the performance of the server. Specific user or group of users can be guided to specific apps via Streams or via Section Access. 

Theme folders can be found in:

 

Qlik Sense November 2018 and later:  C:\Program Files\Qlik\Sense\Client\assets\external\sense-themes-default
Includes three themes: Breeze, Card, Sense. 

Prior Qlik Sense versions: C:\Program Files\Qlik\Sense\Client\themes\old

Qlik Sense Desktop: C:\Users\<your_user_id>\AppData\Local\Programs\Qlik\Sense\Client\themes\old


Still need help? For further assistance with [insert topic here] and much more, join Qlik community; Connect and learn, find answers, and discover best practices and tips and tricks. 




Related Content:

Custom Themes (Help.com)

Comments
pwagner
Partner - Creator III
Partner - Creator III

Hello @Sonja_Bauernfeind 

we would like to customize the 'Sense Focus' theme.

Do you have an idea how we get the files for 'Sense Focus' to customize a duplicate of it?

 

Thank you.

Best regards, Patrick

Sonja_Bauernfeind
Digital Support
Digital Support

Hello @pwagner 

The default themes are stored in: C:\Program Files\Qlik\Sense\Client\assets\external 

I'd recommend not editing it directly (these files will be overwritten with defaults when you upgrade) and to instead make a copy of the theme you want to edit.

All the best,
Sonja 

pwagner
Partner - Creator III
Partner - Creator III

Hello @Sonja_Bauernfeind 

Thank you for your feedback We have already checked this folder. Unfortunately we cannot find the 'Sense Focus' theme in this folder. 

Do you have another idea where we can this theme?

Thank you for your advice, yes, we will customize a copy of the default themes.

 

Best regards, Patrick

Sonja_Bauernfeind
Digital Support
Digital Support

Hello @pwagner 

So, the themes we have are: Sense ClassicSense FocusSense Breeze, and Qlik Horizon.

Focus is called Card in the folder structure from what I can tell, and Classic is called Sense.

All the best,
Sonja 

Contributors
Version history
Last update:
‎2021-05-07 11:02 AM
Updated by: