Dashboards & Visualizations

Dashboard Panel Titles - Make Them Bigger?

aferone
Builder

I'd like to be able to change the size and colors of all of the panel titles in a dashboard.

I am assuming I can control this through a CSS file for particular views, but how exactly?

Thank you!

Tags (2)
0 Karma

rjthibod
Champion

Or you can go with an even simpler option that let's you adjust CSS directly in the SimpleXML.

Add the following to your dashboard just before the closing </form> or </dashboard>. You can adjust the font-size value to suit your needs.

  <row depends="$hidden_token$">
    <panel>
      <html>
        <style>
          .dashboard-row .dashboard-panel h2.panel-title {
            font-size: 20px !important;
          }
        </style>
      </html>
    </panel>
  </row>

yannK
Splunk Employee
Splunk Employee

please see those articles about the css customization.

http://answers.splunk.com/answers/88951/adding-custom-css-to-all-views
http://answers.splunk.com/answers/6047/unable-to-customize-dashboard-with-css

To get the names/id of the objects, use a developer tool.

Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.