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!

Observability Unlocked: Kubernetes Monitoring with Splunk Observability Cloud

  Ready to master Kubernetes and cloud monitoring like the pros?Join Splunk’s Growth Engineering team for an ...

Wrapping Up Cybersecurity Awareness Month

October might be wrapping up, but for Splunk Education, cybersecurity awareness never goes out of season. ...

🌟 From Audit Chaos to Clarity: Welcoming Audit Trail v2

🗣 You Spoke, We Listened  Audit Trail v2 wasn’t written in isolation—it was shaped by your voices.  In ...