How to change the font style of Sublabels

  • Lachen_David
    Asked on April 29, 2025 at 1:35 AM

    Is it possible to change the font size, color ,font type of an individual sublabel

  • Jan JotForm Support
    Replied on April 29, 2025 at 10:04 AM

    Hi David,

    Thanks for reaching out to us for help. Yes, it's definitely possible to customize the font size, color, and type of the form sublabels. This can be done by adding custom CSS to your form.

    Here’s a simple example demonstrating how you can use CSS to style the sublabels:

    How to change the font style of Sublabels Image 1 Screenshot 30

    We can help you further if you can share the direct form link and let us know which Sub labels you want to change. You can easily find your form's URL in Form Builder. Let me show you how:

    1. In Form Builder, in the orange navigation bar at the top of the page, click on Publish.
    2. In the Quick Share tab, click on Copy Link in the Share With Link section.

    How to change the font style of Sublabels Image 2 Screenshot 41Once you share the form URL with us, we’ll be able to help you better with this.

  • Lachen_David
    Replied on April 29, 2025 at 11:49 AM
  • Jan JotForm Support
    Replied on April 29, 2025 at 12:37 PM

    Hi David,

    Can you check my cloned test form and see if that works for you? If yes, you can add this custom CSS code to your form:

    /* sublabel style - 26560031 */
    label#sublabel_input_7 {
      font-size: 16px;
      color: red !important;
      font-style: italic;
      font-family: sans-serif;
    }
    /* code ends - 26560031 */


    You can change the size, color, style, and font family to your preference. Here's a guide on how to add it to your form:

    1. In Form Builder, click on Form Designer icon.
      How to change the font style of Sublabels Image 1 Screenshot 30
    2. Go to the Styles tab.
    3. Paste the CSS code inside the Inject Custom CSS box.
      How to change the font style of Sublabels Image 2 Screenshot 41

    Give it a try and let us know if you need any help.



Your Answer