How to change font sub labels?

  • Myrthe
    Asked on December 12, 2017 at 3:13 PM

    Can I change the font of the sub labels to be different from the general font?

  • dima_n
    Replied on December 12, 2017 at 4:20 PM

    Yes, you can do it using CSS code. Firstly you need to open the form designer and go to CSS tab.

    The next step is moving to Advanced CSS Editor.

    How to change font sub labels?  Image 10

    Then you can get the element’s identifier by clicking on it and change the font.

    How to change font sub labels?  Image 21

  • Kevin Support Team Lead
    Replied on December 12, 2017 at 6:30 PM

    You may also inject the following CSS code in order to change the font for sub-labels only: 

    .form-sub-label{

        font-family: monospace !important;

    }

    Replacing "monspace" with the desired font, this guide will provide you more info about the font-family property: https://www.w3schools.com/cssref/pr_font_font-family.asp 

    You may also find fonts here: https://fonts.google.com/ 

    And this guide will help you injecting the code: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    I hope this helps.