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!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...