Dashboards & Visualizations

Increase the width of application navigation menu lists

Flynt
Splunk Employee
Splunk Employee

How do I increase the width of my application navigation menu items so they do not clip or word wrap?

Tags (2)
1 Solution

Flynt
Splunk Employee
Splunk Employee

In order to increase the width of your application navigation menus, you will need to do some editing to your appropriate application.css file.

First increase the container size - In this example 500px but you can modify as needed.


.splMenu-primary ul div.outerMenuWrapper {
width:500px;
}

Secondly increase the element size - Example is also 500px but modify as needed.


.splMenu a {
display: block;
padding: 5px 10px;
width: 500px;
text-decoration: none;
overflow: visible;
white-space:nowrap;
}

Your menu items should now no longer clip or word wrap.

View solution in original post

Flynt
Splunk Employee
Splunk Employee

In order to increase the width of your application navigation menus, you will need to do some editing to your appropriate application.css file.

First increase the container size - In this example 500px but you can modify as needed.


.splMenu-primary ul div.outerMenuWrapper {
width:500px;
}

Secondly increase the element size - Example is also 500px but modify as needed.


.splMenu a {
display: block;
padding: 5px 10px;
width: 500px;
text-decoration: none;
overflow: visible;
white-space:nowrap;
}

Your menu items should now no longer clip or word wrap.

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