This topic contains 1 reply, has 2 voices, and was last updated by Sean Sean 3 years, 7 months ago.

Font Change


  • patternai
    Participant

    Member Reply #643

    Hi All-

    I tried changing from the Open Sans font to the hosted Lato font by

    1) Replacing the Open Sans hosted tag with this:

    <link href=”http://fonts.googleapis.com/css?family=Lato:300,400,700,900″ rel=”stylesheet” type=”text/css”>

    2) And editing the _variables.scss font-family items with this:

    $font-family-primary:     “Lato”, sans-serif !default;

    $font-family-default:     “Lato”, Helvetica, Arial, sans-serif !default;

    However I can’t seem to get my desired font to render on page. Am I being dense and just missing something completely?

    Sean
    Sean
    Keymaster

    Posts: 4527
    Support Staff Reply #644

    Hi :),

    Sorry for the late reply.

    Your taken step #1 and step #2 are correct. But you will need to double check if the required sass files(components.scss, components-rounded.scss, components-md.scss) are compiled(any change in sass files require compilation order to appear your changes in actual css files(e.g: components.css)) properly to include your changes. Please refer to the documentation under(_documentation/admin/index.html) and check “Sass” section. If you need any further assistance please provide us a test link to your site in a private reply. 

    Thanks.

Tagged: 

You must be logged in to reply to this topic.