Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Update on Theming: Title Background & Font Color does not work

The new update on the theming that came with the July Update is great and I tested it right away. I want all my slicers to look the same and I prefer using titles instead of slicer headers. So I put the following in the VisualStyles:

visualStyles":{
    "slicer":{
        "*":{
            "title": [{

                "show": true,

                "fontColor": { "solid": { "color": "#FFFFFF" } },

                "background": { "solid": { "color": "#DD1A1A" } },

                "alignment": "center",

                "fontSize": 9,

                "fontFamily": "DIN",

                "text":"Enter Title!"

            }],

            "background": [{

                "show": false

            }],

            "lockAspect": [{

                "show": false

            }],

            "border": [{

                "show": true,

                "color": { "solid": { "color": "#DD1A1A" } }

            }],
            "header": [{

                "show": false
            }]

        } 

    }      
    }

 At first, it seems to work, but the defined FontFamily is not captured right away. When creating a new slicer, the font is set to DIN in the formatting pane, but the visual is showing something else:

 

Capture.PNG

 

Only after reapplying the font family (selecting DIN in the dropdown again) the title shows up correctly:
Capture1.PNG

Status: New
Comments
v-qiuyu-msft
Community Support

Hi @Anonymous,

 

I have reported this issue internally: CRI 77995521. Will update here once I get any information. 

 

Best Regards,
Qiuyun Yu 

v-qiuyu-msft
Community Support

Hi @Anonymous,

 

I got information below: 

 

As a temporary solution tell customer to set font family as wf_standard-font (it will display as DIN, font picker will say wf_standard-font).

 

User can also set font family to the following and then the font picker will say DIN


"fontFamily": "wf_standard-font, helvetica, arial, sans-serif"

 

Best Regards,
Qiuyun Yu