Dashboards & Visualizations
Highlighted

Changing Color of Splunk's dashboard body

SplunkTrust
SplunkTrust

I'd like to add a CSS file to change the body color of the dashboard background. I want the color to be as while as this search box (#FFFFFF)

I created the CSS file in /appserver/static/, but the body color hasn't changed. I've done work for coloring other modules such as buttons and boarders which worked, but I can't get the actual background of the view to change colors.

Here is my CSS for background body color:

/* background colors
---------------------------------*/

/* default page color */
body {
background-color: #FFFFFF;
}

Am I missing something?

Thanks in Advance

Tags (4)
0 Karma
Highlighted

Re: Changing Color of Splunk's dashboard body

Splunk Employee
Splunk Employee

Did you reference your CSS in the view tag? See Customize CSS in the documentation.

0 Karma
Highlighted

Re: Changing Color of Splunk's dashboard body

SplunkTrust
SplunkTrust

Yes, I have stylesheet= at the top of the XML

0 Karma
Highlighted

Re: Changing Color of Splunk's dashboard body

Splunk Employee
Splunk Employee

With the file name in quotes, and inside the view tag? -- Just making sure.

0 Karma