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!

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...