How to change font sub labels?

  • Profile Image
    Myrthe
    Asked on December 12, 2017 at 03:13 PM

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

  • Profile Image
    dima_n
    Answered on December 12, 2017 at 04: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.

    15131135451.PNG

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

    15131135882.PNG

  • Profile Image
    Kevin_G
    Answered on December 12, 2017 at 06: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.