Dashboards & Visualizations

Can the width of a navigation collection be modified

kbecker
Communicator

In the navigation drop down menu I have several searches with long names. Is it possible to set the width of navigation collection so that the search name does not get truncated. I didn't see any parameters on the following navigation documentation page.

http://www.splunk.com/base/Documentation/4.1.1/Developer/Step6BuildNavigation

Tags (2)

southeringtonp
Motivator

Yes, but there are caveats.

It's all driven by CSS -- it looks like the width is coming from AppBar.css (at least some of the time):

.AppBar .splMenu-primary ul div.innerMenuWrapper {
   width: 210px;
}

The simplest thing would be to put your own version of that stanza in appserver/static/application.css. Beware though, if you do that for Search or any of the other apps bundled with Splunk, it will get overwritten every time you upgrade.

You can do it at the view level, but you'd have to modify every view. I'm not aware of an officially sanctioned method for modifying the actual module CSS.

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

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

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...