Dashboards & Visualizations

Changing Color of Splunk's dashboard body

_gkollias
Builder

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

ChrisG
Splunk Employee
Splunk Employee

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

0 Karma

ChrisG
Splunk Employee
Splunk Employee

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

0 Karma

_gkollias
Builder

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

0 Karma
Get Updates on the Splunk Community!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...