Forum Discussion

sabilahmed's avatar
sabilahmed
Resolver I
3 years ago
Solved

Filter Pane Custom Theme (Background is black)

I'm trying to change the below filter pane background as white and font as black in my custom theme:

But I can't figure it out. I have set everything to background as white and font as black in the filterpane section of the theme, but nothing is working. Please help

 

  • sabilahmed That isn't M code. That is JSON theme code. So you need to add that to the correct spot in your theme file. I am posting the full theme file export from the theme generator I used. Search for 111111 in the theme file and that is the background color of the filters pane. See file attachment below signature.

5 Replies

  • Greg_Deckler's avatar
    Greg_Deckler
    Community Champion

    sabilahmed That setting is available according to Enterprise DNA's themes generator. 

     

    "outspacePane":[{"backgroundColor":{"solid":{"color":"#000000"}},"transparency":0,"foregroundColor":{"solid":{"color":"#252423"}},"titleSize":12,"headerSize":9,"checkboxAndApplyColor":{"solid":{"color":"#F2C811"}}}]

     

    Check out my article on Theme Generators: Power BI Theme Generators - Microsoft Power BI Community

    • sabilahmed's avatar
      sabilahmed
      Resolver I

      Thanks for getting back to me Greg_Deckler 

       

      So does this mean I have to change the M code to get rid of the black background shown in my image? Isn't there a way I can alter this in the "Customize theme" section?

      I'm simply looking for an easy option. There has to be a way no?

      • Greg_Deckler's avatar
        Greg_Deckler
        Community Champion

        sabilahmed That isn't M code. That is JSON theme code. So you need to add that to the correct spot in your theme file. I am posting the full theme file export from the theme generator I used. Search for 111111 in the theme file and that is the background color of the filters pane. See file attachment below signature.

  • My theme is not changing, it showing me error in filter pan background