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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
MAM
New Member

Is there a way to change Slicer Search box font color?

Seeking a solution to be able to change the search box font color in a slicer (or make the field transparent).  I want the values font to be white, and the search text follows as also white (no way to change that I can find) and it not visible when typed.  

I want the slicer to have a transparent background.

MAM_0-1658866736947.png

text inserted into search field but it's not visible

MAM_2-1658866795891.png

highlighted to show that text was typed, but it wasn't visible as it's white on white.

MAM_1-1658866780861.png

I wasn't able to get any of the proposed solutions to work modifying json theme.  

2 REPLIES 2
MAM
New Member

 Thank you.  I did see that post, but I wasn't able to find the solution or the json that was used for the image shown.  The version I found  didn't work.  Hoping someone might be able to provide the json that is needed to make it work.

https://community.powerbi.com/t5/Desktop/Is-there-a-way-to-change-Slicer-Search-box-font-color/m-p/2... 

{
	"name": "slicer search box color setting",

	"visualStyles": {
		"slicer": {
			"*": {
				"*": [
					{
						"fontColor": { "solid": { "color": "#FFFFFF" } },
						"background": { "solid": { "color": "#000000" } }
					}
				]
			}
		}
	}
}
amitchandak
Super User
Super User

@MAM , Seem like changing an option worked for the use in the past. Refer

https://community.powerbi.com/t5/Desktop/Change-Slicer-Search-font-color/m-p/852325

 

I did not find specific element, some experiment is needed

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

July 2024 Power BI Update

Power BI Monthly Update - July 2024

Check out the July 2024 Power BI update to learn about new features.

July Newsletter

Fabric Community Update - July 2024

Find out what's new and trending in the Fabric Community.