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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...