Forum Discussion
Using Theme to set Title Background & Font Color
- Anonymous8 years ago
Anonymous
I've received the below responce from Microsoft, it looks like it is currently not a function available with Themes.
We received an update from product team that We don’t yet support formatting the title of visuals through themes.
We have done extensive research and troubleshooting to understand the issue which you are facing. From our findings and after having discussion with product group team we got to know that this is the known issue and this is in our roadmap. Unfortunately we cannot provide any ETA at this moment. So we will be closing this case today. Appreciate your support and partnership with Microsoft. You are our valuable customer and we strive to assist you better and better every day.
Looks like we just have to wait.
As of Aug 2018 update you can style the title font, color, backgraound of controls. You can also set background of the whole report.
eg:
"visualStyles":
{
"*":
{
"*":
{
"title": [{
"show": true,
"fontColor": { "solid": { "color": "#CCDCE4" } },
"background": { "solid": { "color": "#335462" } },
"alignment": "left",
"fontFamily": "Arial",
"fontSize": 10
}],
"background": [{
"show": true,
"color": { "solid": { "color": "#FFFFFF" } },
"transparency": 0
}]
}
},
"page": {
"*": {
"background": [{
"color": { "solid": { "color": "#87BED4" } },
"transparency": 60
}]
}
}
}See the annoucement from MS here:
https://powerbi.microsoft.com/en-us/blog/power-bi-desktop-july-2018-feature-summary/#theme
- Anonymous7 years agoNot applicable
Can't get the title color to work. Shouldn't this work?
{ "visualStyles":{ "*":{ "*":{ "title":[ { "show":true, "fontColor":{ "solid":{ "color":"#285c4d" } }, "alignment":"left", "fontSize":16 } ] } } } }- turbomanson7 years agoRegular Visitor
Did you figure out a way todo this?
- Anonymous7 years agoNot applicable
Hi turbomanson ,
The below JSON will set the title to show, the font color to white, and the background color to black. Let me know if you have any questions!
{ "name":"My Template", "visualStyles":{ "*":{ "*":{ "title":[{ "show":true, "fontColor":{"solid":{"color":"#FFFFFF"}}, "background":{"solid":{"color":"#000000"}} }] } } } }