cancel
Showing results for 
Search instead for 
Did you mean: 

Wrong font displayed on card visual after customized JSON theme import

Hi,

I changed the font of the category label (card visual) to "DIN" in my JSON custom theme.

 

        "card": {
            "*": {
                "categoryLabels": [
                    {
                        "fontFamily":"DIN"
                    }
                ]
            }

 

 

There are no issues with the import of the file. Moreover, the font family "DIN" is shown in the format pane. However, the displayed font is obviously not "DIN".

Thanks for your help.  

Status: New
Comments
Community Support

Hi @Dominik_Umile,

 

Please replace "DIN" as "wf_standard-font" in your theme file. For more information, please refer to this thread: https://community.powerbi.com/t5/Issues/Update-on-Theming-Title-Background-amp-Font-Color-does-not-w...

 

{ 
   "name":"Custom Theme",
   "visualStyles":{ 
      "card":{ 
         "*":{ 
            "categoryLabels":[ 
               { 
                  "fontFamily":"wf_standard-font"
               }
            ]
         }
      }
   }
}

Best Regards,
Qiuyun Yu

Regular Visitor

Thanks, that worked.