Google fonts local

Home Forums All Other Themes Google fonts local

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #101203
    Sonja
    Member
    • Topics: 10
    • Replies: 3
    • Total: 13
    Member since: March 21, 2016

    Hi together,

    is there an easy way to install and register the used google fonts locally on the webserver?
    Themes used are SKT clean and SKT gardening.

    BR

    Sonja

    #103600
    SKT Themes
    Keymaster
    • Topics: 8
    • Replies: 6705
    • Total: 6713
    Member since: June 12, 2013

    Hi Sonja,

    Yes you can download those Google fonts and then use the following CSS:

    /* Your local CSS File */
    @font-face {
        font-family: 'Cantarell';
        font-style: normal;
        font-weight: 700;
        src: local('Cantarell Bold'), local('Cantarell-Bold'), url(../font/Cantarell-Bold.ttf) format('truetype');
    }
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.