How to change the font to my website default font

  • yvonneshum
    Asked on June 27, 2014 at 6: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!!!

  • Elton Support Team Lead
    Replied on June 27, 2014 at 6:59 AM

    Hi,

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

    How to change the font to my website default font Image 1 Screenshot 20

    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!

  • yvonneshum
    Replied on June 27, 2014 at 7: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 ?

  • Elton Support Team Lead
    Replied on June 27, 2014 at 7: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! =)

  • yvonneshum
    Replied on June 27, 2014 at 7:45 AM

    yay!! thanks so much!!!