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!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...