-
Katie Ryan-O'FlahertyAsked on December 15, 2022 at 8:16 PM
Hi! I am trying to universally update the font on my form. I used the css code below:
@import url('
* {
font-family: 'Libre Baskerville', sans-serif;
}
However, it is not working on the question text. Do you know how I can fix this? -
ulas_alyesil Jotform SupportReplied on December 16, 2022 at 1:27 AM
Hi, Katie,
Thanks for reaching out to Jotform Support. In order to use custom fonts inside your form you should remove the @import url(' statement from CSS. Let me show you. I am going to use a different font to better see the difference and also I will put the custom CSS to use Libre Baskerville for you as well.
This is how you should do it:
- Open Form Designer by clicking the brush icon on the left.
- Navigate to Styles tab and inject your code (the font name in the example is different than what you should do) and click Save
Here is your code (copy this and paste it to your form):
*{
font-family: 'Libre Baskerville', sans-serif;
}