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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...