How to change field confirmation widget font and size?

  • charterhearings
    Asked on July 17, 2019 at 5:07 PM

    How can I update the Field Confirmation widget to match the font (Alegreya Sans) and Size (18)?


    I'm a CSS beginner. I know where to insert the code but I don't know anything about composing or editing it, please let me know what I can copy and paste.

    Thank you!

  • AshtonP
    Replied on July 17, 2019 at 8:19 PM

    We are unsure which field you are trying to update. Please provide more details on the form and the field you are trying to change the fonts for. 

    Meanwhile you can refer to the following help guide - https://www.jotform.com/help/185-How-to-Change-Form-Fonts 

  • KrisLei Jotform Support
    Replied on July 17, 2019 at 8:28 PM

    Hi,

    I'm also new to CSS coding, but I usually use the Advance CSS Editor to manage and customize the form.

    Here's how I manage the form through CSS:

    1. Click on the Advance CSS Editor button at the lower-left panel of the CSS panel. 

    1563406528CSS Editor Screenshot 10

    2. This will bring you to a new window with CSS and Design tabs on the right panel.

    3. Click first on the widget or which field you would like to customize or edit.

    4. While on the Design tab, scroll down to show you the properties of the widget that you have selected which you can change.

    How to change field confirmation widget font and size? Image 21

     

    5. Click on Font Options to customize the font.

    How to change field confirmation widget font and size? Image 32

    Here's another option, which is to manually inject the CSS codes.

    1563408965CSS Editor B Screenshot 43

     

    After you make the changes in the fields and widgets, you have to click on the save button then the pencil icon to go back to the form builder.

    1563409448CSS editor exit Screenshot 54

     

    I hope this would help. 

  • Jed_C
    Replied on July 18, 2019 at 1:00 AM

    In addition, you can use Google Fonts https://www.jotform.com/help/100-How-to-Use-Google-Fonts-and-Custom-Fonts-in-your-Form.

    ex.

    @import url('https://fonts.googleapis.com/css?family=Alegreya+Sans&display=swap');

    input#input-field, input#confirm-field{

       font-family: 'Alegreya Sans', sans-serif;

       font-size: 18px;

    }

    1563426165field confirmation widget Screenshot 10

    You can inject that inside the widget's CSS tab https://www.jotform.com/help/428-How-to-Inject-CSS-Codes-to-Widgets.

    I hope that helps. Let us know if you have any questions or if you need further assistance.