Change Form Tab/Text Color

  • Trace3Events
    Asked on March 28, 2024 at 2:50 PM

    Hi,

    I am looking to get guidance on how to change the form tab and text color.

    I saw this code in one of the related question forum but it did not work for me. Not sure if I am putting it in the right place or if the code is outdated.

    .tabs-list.default li {

        color: #ffffff;

        background: #21a6cf;

    }    

    .liContent {

        font-family: Open Sans, sans-serif;

    }

    .tabs-list.default li .liBefore {

        border-bottom: 28px solid #21a6cf;

    }    

    .tabs-list.default li .liAfter {

        border-bottom: 28px solid #21a6cf;

    }

    .tabs-list.default li.current {

        background: #117fa0 !important;

    }

    .tabs-list.default li.current .liAfter, .tabs-list.default li.current .liBefore {

        border-bottom: 28px solid #117fa0 !important;

    Jotform Thread 13375891 Screenshot
  • Neil JotForm Support
    Replied on March 28, 2024 at 3:34 PM

    Hi Andrea,

    Thanks for reaching out to Jotform Support. I'm sorry if you're having difficulties with this. I tried the code you've provided, and it's working as expected:

    Change Form Tab/Text Color Image 1 Screenshot 30

    You will have to inject the code into the widget. Let me show you how:

    1. In Form Builder, select the Form Tabs widget and click on the wand icon.
    2. Scroll down to Custom CSS and paste the code inside the box.
    3. Once you're done, click on Update Widget.

    Change Form Tab/Text Color Image 2 Screenshot 41

    That's it. Give it a try and let us know if you need more help.

  • Trace3Events
    Replied on March 28, 2024 at 3:44 PM

    Hi Neil,

    Thank you, that worked! I was placing it in the wrong place.

    I appreciate your help!