What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to change the font to my website default font

    Asked by yvonneshum on June 27, 2014 at 06:44 AM

    Hi, can you please teach me how to change the font of the form to my website's default font ?

     

    thanks so much!!!

    Page URL:
    http://aalis.hk/pages/wholesale

    font thanks
  • Profile Image
    JotForm Support

    Answered by EltonCris on June 27, 2014 at 06:59 AM

    Hi,

    Your website font is Lucida Grande as of checking your page source. This font is available in the form builder.

    Or you can inject the following CSS codes to your form. How-to-Inject-Custom-CSS-Codes

    .form-all{

    font-family: "Lucida Grande", "Trebuchet MS", Helvetica, sans-serif;

    }

    You can replace the font style to your preference. However if you're using a custom font, you have to inject the fonts using @font-face rule to your form. Example format:

    @font-face {

    font-family: 'FontName';

    src: url('http://www.mysite.com/fonts/FontName.eot?') format('eot'), 

        url('http://www.mysite.com/fonts/FontName.otf')  format('opentype'),

        url('http://www.mysite.com/fonts/FontName.woff') format('woff'), 

        url('http://www.mysite.com/fonts/FontName.ttf')  format('truetype'),

        url('http://www.mysite.com/fonts/FontName.svg#NexaLight') format('svg');

     

    }

    Let us know if you need anything else or if you need further assistance.

    Regards!

  • Profile Image

    Answered by yvonneshum on June 27, 2014 at 07:18 AM

    actually the font i am using is Museo Sans 100

     

    so i injected this...

     

    @font-face {font-family: 'museo_sans100';src: url('http://cdn.shopify.com/s/files/1/0438/4693/files/MuseoSans_100-webfont.eot?1131') format('eot'),url('http://cdn.shopify.com/s/files/1/0438/4693/files/MuseoSans_100-webfont.woff?1131') format('woff'),url('http://cdn.shopify.com/s/files/1/0438/4693/files/MuseoSans_100-webfont.ttf?1131')  format('truetype'),url('http://cdn.shopify.com/s/files/1/0438/4693/files/MuseoSans_100-webfont.svg?1131') format('svg');}

     

    but its still not working ?

  • Profile Image
    JotForm Support

    Answered by EltonCris on June 27, 2014 at 07:32 AM

    You missed the other CSS to where you want it to apply. Add the following.

    .form-all * {

    font-family: museo_sans100, sans-serif;

    }

    This should complete it. Cheers! =)

  • Profile Image

    Answered by yvonneshum on June 27, 2014 at 07:45 AM

    yay!! thanks so much!!!