Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!View all the Fabric Data Days sessions on demand. View schedule
Hi all,
I'm trying to set the color of my visual title using a Power BI theme in form of a JSON file.
I am not able to get the color working correctly, I was looking at other topics in this regard but none of the solutions seem to work (this one for instance).
Current code looks like below, size and font are adjusted correctly but color is not.
"textClasses": {
"label": {
"fontFace": "Ubuntu",
"fontSize": 9
},
"callout": {
"fontFace": "Ubuntu",
"fontSize": 10,
"color": "#0070AD"
},
"title": {
"fontFace": "Ubuntu",
"fontSize": 12,
"color": "#0070AD"
},
"largeTitle": {
"fontFace": "Ubuntu",
"fontSize": 12,
"color": "#0070AD"
},
"header": {
"fontFace": "Ubuntu",
"fontSize": 10,
"color": "#0070AD"
}
}
I've also tried to put the title color directly in the VisualStyles as opposed to the textClass but no luck either..
"title": [{
"show": true,
"fontColor": { "solid": { "color": "#0070AD" } },
"background": { "solid": { "color": "#FFFFFF" } },
"fontSize": 12
}]
Any advice on how to get this done? Kind of frustrating that I can't get the titles of the visuals in the desired correctly.
Strangely enough the slicer titles do end up in the correct color but other visuals (line charts etc.) don't.
Thanks for any tips.
Hi
Please custom visual title by this steps. Rename the extension of the pbix file to zip>Find the JSON file in Base Theme folder(relative path:Report\StaticResources\SharedResources\BaseThemes)>Paste the JSON file and make changes to it>
Rename zip file to pbix file>Browse for themes and find the JSON file to import it
The result looks like this:
If you still have question, please let me known.
Best Regards
Caiyun Zheng
If this post helps, please consider make it as the solution by Accept it as Solution. Really appreciate!
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!