Dashboards & Visualizations

How to change default button background color?

strkwer
Engager

Hi

I like to change the submit button default background color from green and font style, please help me that.

Thanks

Tags (2)
0 Karma
1 Solution

vnravikumar
Champion

Hi

Try with the following CSS and modify it accordingly

<form>
  <label>submitbutton</label>
  <fieldset submitButton="true">
    <input type="text" token="field1">
      <label>field1</label>
    </input>
  </fieldset>
  <row depends="$hide$">
    <html>
      <style>
      #submit .btn-primary {
        font-family: monospace;
        background-color: #4048a5 !important;
      }
      </style>
    </html>
  </row>
</form>

View solution in original post

vnravikumar
Champion

Hi

Try with the following CSS and modify it accordingly

<form>
  <label>submitbutton</label>
  <fieldset submitButton="true">
    <input type="text" token="field1">
      <label>field1</label>
    </input>
  </fieldset>
  <row depends="$hide$">
    <html>
      <style>
      #submit .btn-primary {
        font-family: monospace;
        background-color: #4048a5 !important;
      }
      </style>
    </html>
  </row>
</form>
Get Updates on the Splunk Community!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...