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

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
gmenoutis
Partner - Creator II
Partner - Creator II

Custom themes don't work?

I am using Qlik Sense Enterprise, version April 2018

I went through the site documentation about custom themes. Here is the code I put into my theme.json:

{

  "_inherit": true

},

"straightTable" : {

  "header" : {

    "fontSize" : "16px",

    "color": "#FF0000"

  }

}

I reckon this should just make the header letters of my straight tables red and 16.

I saved, zipped, imported succesfully, and sure enough, I get the option to use my custom theme when going to the app settings. However, when I select it, nothing happens. Even more interestingly, I hradly notice any difference even when selecting between Qlik Classic, Breeze and Focus. Am I missing something?

1 Solution

Accepted Solutions
hgi
Former Employee
Former Employee

George, you are missing the "object" node in you theme JSON. It should be:

{

  "_inherit": true,

  "object": {

    "straightTable": {

      "header": {

        "fontSize": "16px",

        "color": "#FF0000"

      }

    }

  }

}

A tip is also to validate your JSON code, i.e using https://jsonlint.com/

For the 3 built in themes there are some slight differences. The Focus theme adds a card look to the objects on the grid, but uses the same colors as Classic. Breeze does the same, but uses different color scales.

View solution in original post

2 Replies
hgi
Former Employee
Former Employee

George, you are missing the "object" node in you theme JSON. It should be:

{

  "_inherit": true,

  "object": {

    "straightTable": {

      "header": {

        "fontSize": "16px",

        "color": "#FF0000"

      }

    }

  }

}

A tip is also to validate your JSON code, i.e using https://jsonlint.com/

For the 3 built in themes there are some slight differences. The Focus theme adds a card look to the objects on the grid, but uses the same colors as Classic. Breeze does the same, but uses different color scales.

gmenoutis
Partner - Creator II
Partner - Creator II
Author

Thank you, it worked!