Dashboards & Visualizations

Is there a way to increase dropdown input text font size?

SanjayReddy
SplunkTrust
SplunkTrust

Hi All,

I am looking for option to increase the dropdown input font size.
from following screenshot , want to increase font size for ALL, admin,No body,splunk system user,
tried with css and html but no luck

 

SanjayReddy_0-1683698885469.png

 

Labels (1)
0 Karma

TrangCIC81
Communicator

Can you try this?

You can adjust the value 14px as desired

 

<select style="font-size: 14px;">
  <option value="all">ALL</option>
  <option value="admin">admin</option>
  <option value="nobody">No body</option>
  <option value="splunk-system-user">splunk system user</option>
</select>

 

0 Karma

SanjayReddy
SplunkTrust
SplunkTrust

Hi @TrangCIC81 

it didnt worked, message says select is not allowed ,  i tried keep it differetn places but no luck

0 Karma

TrangCIC81
Communicator

In the dashboard source editor, can you try adding the following CSS code instead?

 
.dashboard-dropdown .dropdown-toggle {
    font-size: 16px;
}
0 Karma

SanjayReddy
SplunkTrust
SplunkTrust

Hi @TrangCIC81 

Thanks for your reply, unfortunately i didnt worked,

also tired option using inspect element properties, but no luck

0 Karma
Get Updates on the Splunk Community!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...