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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
fishing_weights
Creator
Creator

[Custom Theme] How do I customize the "Text" field in a Text& Image Object via custom theme?

I am able to customize the Title and Subtitle. but how do i do it for the text itself?

I know for title its this:

 "object": {
    "title": {
      "main": {
        "fontFamily": "@TitleFontFamily",
        "color":"@TitleColor",
        "fontSize": "@TitleSize"
      }
 
but what about the text?
 

fishing_weights_0-1732717245512.png

Thanks in advance!

Labels (5)
3 Replies
alex_colombo
Employee
Employee

Hey @fishing_weights , changing fontFamily property will apply your font to all lables, including text in text/image as well.

fishing_weights
Creator
Creator
Author

Hi @alex_colombo Thanks! but how do i define the fontFamily as the default for everything? Ie. Where do I script it in? the CSS or JSON? and under which "Object"?

I've tried defining here but it does not work:

fishing_weights_0-1733220146789.png

 

alex_colombo
Employee
Employee

This is the right place, but if you are trying to use custom fonts, you should first import it into css. See here for info.