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!

Combine Multiline Logs into a Single Event with SOCK - a Guide for Advanced Users

This article is the continuation of the “Combine multiline logs into a single event with SOCK - a step-by-step ...

Everything Community at .conf24!

You may have seen mention of the .conf Community Zone 'round these parts and found yourself wondering what ...

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 ...