Change font colour of the Slider widget to white

  • The_Sands_Barbados
    Asked on April 17, 2024 at 2:46 PM

    Hi!

    I would appreciate some help.

    I am using the slider with the calculated result widget and I'm trying to format it so that the font color is white. However, the font for the number selected and calculated total remains black, and I cant figure out how to change it.

    Change font colour of the Slider widget to white Image 1 Screenshot 20

    https://www.jotform.com/build/230225071036846

  • Jovanne JotForm Support
    Replied on April 17, 2024 at 3:17 PM

    Hi The_Sands_Barbados,

    Thanks for reaching out to Jotform Support. If you want to change the font color of the number selected and the calculation, you can add this CSS code below:

    td#result, td.value_row {
      color: white !important;
    }

    Adding the CSS code to the widget is easy. Let me show you how:

    • In the Form Builder, click the Widget Settings and go to Custom CSS tab.
    • Copy the CSS code above and paste it then click the Update Widget button.

    Change font colour of the Slider widget to white Image 1 Screenshot 20

    Give it a try and let us know how it goes.

  • The_Sands_Barbados
    Replied on April 17, 2024 at 4:12 PM

    It did!

    Thanks soo much! :D


 
Your Answer