Forum Discussion
Cannot Make Items Dropdown in Slicer Transparent
- 4 years ago
Hi oliverblane ,
The color in the drop-down box of the slicer is related to the background color of the items. You can choose the desired color in the position below.
If you want the dropdown box background to be transparent, you need to import a custom theme and set its background to be transparent: "background": { "solid": { "color": "#FFFFFF00"}}
Here are the steps for my test.- Create the following json file.
{ "name": "SlicerTemplate", "visualStyles": { "slicer": { "*": { "items": [{ "fontColor": { "solid": { "color": "#FFFFFF"}}, "background": { "solid": { "color": "#FFFFFF00"}}, "outline": "None", "textSize": 11, "fontFamily": "Segoe UI" }] } } } }- Import the file into the report.
- Then you can set the background of the report page, the color of other visuals, the font color of the slicer, etc. as needed. (Note that the slicer's background option must be turned off)
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
WinnizIf this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi oliverblane ,
The color in the drop-down box of the slicer is related to the background color of the items. You can choose the desired color in the position below.
If you want the dropdown box background to be transparent, you need to import a custom theme and set its background to be transparent: "background": { "solid": { "color": "#FFFFFF00"}}
Here are the steps for my test.
- Create the following json file.
{
"name": "SlicerTemplate",
"visualStyles": {
"slicer": {
"*": {
"items": [{
"fontColor": { "solid": { "color": "#FFFFFF"}},
"background": { "solid": { "color": "#FFFFFF00"}},
"outline": "None",
"textSize": 11,
"fontFamily": "Segoe UI"
}]
}
}
}
}
- Import the file into the report.
- Then you can set the background of the report page, the color of other visuals, the font color of the slicer, etc. as needed. (Note that the slicer's background option must be turned off)
If the problem is still not resolved, please provide detailed error information or the expected result you expect. Let me know immediately, looking forward to your reply.
Best Regards,
Winniz
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thank you so much v-kkf-msft - it worked perfectly!