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!

.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 ...