Dashboards & Visualizations

Increase font size of Main Menu in Splunk web

Ant1D
Motivator

Hey,

I am trying to increase the font size of the main navigation menu text in my splunk web instance.

I have tried to do it via application.css as followed:

.AppBar { font-size: 22px; }

also tried:

.AppBar a { font-size: 22px; }

Neither work. Is it possible to increase the size of the Main Menu text?

Thanks in advance for your help.

Tags (2)
1 Solution

Ron_Naken
Splunk Employee
Splunk Employee

If you want this for the search app, do the following:

  1. cd $SPLUNK_HOME/etc/apps/search/appserver/static
  2. edit application.css

Paste this into the bottom of the file (application.css😞

/* AppBar */
ul.appBarNav li a:hover,
ul.appBarNav li a.menuOpen {
    background: url(/static/img/skins/default/overlay_white_28.png) repeat-x 0 0;
    _background: url(/static/img/skins/default/backgrounds_ie.gif) repeat-x 0 -727px;
}
ul.appBarNav li a {
    font-size: 18px;
    font-weight: bold;
}
.AppBar .splMenu-primary ul li.splUserCreated {
    background-image: url(/static/img/skins/default/splIcons.gif);
    background-repeat: no-repeat;
    background-position: -3px -536px;
}

font-size: 18px is the magic style you want to change. 11px is the default, I believe.

Cheers,
ron

View solution in original post

Ron_Naken
Splunk Employee
Splunk Employee

If you want this for the search app, do the following:

  1. cd $SPLUNK_HOME/etc/apps/search/appserver/static
  2. edit application.css

Paste this into the bottom of the file (application.css😞

/* AppBar */
ul.appBarNav li a:hover,
ul.appBarNav li a.menuOpen {
    background: url(/static/img/skins/default/overlay_white_28.png) repeat-x 0 0;
    _background: url(/static/img/skins/default/backgrounds_ie.gif) repeat-x 0 -727px;
}
ul.appBarNav li a {
    font-size: 18px;
    font-weight: bold;
}
.AppBar .splMenu-primary ul li.splUserCreated {
    background-image: url(/static/img/skins/default/splIcons.gif);
    background-repeat: no-repeat;
    background-position: -3px -536px;
}

font-size: 18px is the magic style you want to change. 11px is the default, I believe.

Cheers,
ron

Ant1D
Motivator

Spot on. Thanks Ron

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...