How to update the Font style and size for the whole form via Custom CSS

  • Anderson_Vet
    Asked on April 24, 2024 at 12:04 PM

    How can I make the entire form the same font? I have gone to advanced settings and it only changes the font for the tables - not the font in text boxes.

  • Shirized Ina Garces JotForm Support
    Replied on April 24, 2024 at 12:15 PM

    Hi Anderson_Vet,

    Thanks for reaching out to Jotform Support. I checked all your forms, but I did not see any tables. Can you send me the link to your form so I can take a look at it for you? You might also want to check this guide Beautify Your Form Using Jotform's Built-in Fonts for more information.

    Keep us updated and let us know if you need any more help. 

  • Anderson_Vet
    Replied on April 24, 2024 at 12:21 PM
  • Shirized Ina Garces JotForm Support
    Replied on April 24, 2024 at 12:28 PM

    Hi Anderson_Vet,

    Thanks for getting back to us. We can change the font of all the fields by adding custom CSS code to your form but before doing so, can you tell us what font style or font size you would want to apply in your form so we can help you?

    Once we hear back from you, we'll be able to move forward with a solution.

  • Anderson_Vet
    Replied on April 24, 2024 at 12:32 PM

    Verdana size 12 please!

  • Kenneth JotForm Support
    Replied on April 24, 2024 at 1:00 PM

    Hi Anderson_Vet,

    Thanks for reaching out to Jotform Support. To change the font of your form to Verdana with a font size of 12, you can inject the following CSS code:

    .form-all {
        font-family: Verdana, sans-serif;
        font-size: 12px;
    }

    Here's how to inject the CSS in your form:

    1. Click on the Form Designer button(Paint Roller).
    2. Under the Style Tab, scroll down to Inject Custom CSS.
    3. Finally, Copy and Paste the CSS code above. How to update the Font style and size for the whole form via Custom CSS Image 1 Screenshot 30

    Take a look at the screenshot below to see my results:

    How to update the Font style and size for the whole form via Custom CSS Image 2 Screenshot 41Give it a try and let us know how it goes.

  • Anderson_Vet
    Replied on April 24, 2024 at 1:10 PM

    I have inputted the CSS code but where do I save it? It is not showing any change in font and I watched a video that has a "save" button but I don't have one.

  • Gaud JotForm Support
    Replied on April 24, 2024 at 1:24 PM

    Hi Anderson Vet Clinic,

    Thanks for getting back to us. Do note that when you copy and paste the CSS code into the inject Custom CSS code window. You don't need to click on the Advanced Form Designer.

    How to update the Font style and size for the whole form via Custom CSS Image 1 Screenshot 30

    You can scroll upwards and close the panel. Let me share the screenshot below of the Form Designer.

    How to update the Font style and size for the whole form via Custom CSS Image 2 Screenshot 41

    Let us know how it goes.

  • Anderson_Vet
    Replied on April 24, 2024 at 1:38 PM

    How to update the Font style and size for the whole form via Custom CSS Image 1 Screenshot 20

    I have followed the steps and as you can see in the screenshot the font is different in line 1 (and other lines not shown in screenshot).

  • Gaud JotForm Support
    Replied on April 24, 2024 at 2:53 PM

    Hi Anderson Vet Clinic,

    Thanks for using Jotform. When I checked out your Ultrasound Consent Form -CPR. I've noted that for questions one and five, you are using the paragraph field. For all other questions, you are using the short text field. Keep in mind that for the paragraph field, you get an option to change the font's style and the size but for the short text field, there isn't. Let me share the screenshots below:

    How to update the Font style and size for the whole form via Custom CSS Image 1 Screenshot 30

    How to update the Font style and size for the whole form via Custom CSS Image 2 Screenshot 41

    That's why you are seeing the different fonts in those two questions. I suggest you either change all the fields to the paragraph field or replace the paragraph fields with long text or short text to see the results.

    Let us know how it goes.

 
Your Answer