New Landing How can we help? Atelier Embed Myfonts.com

Viewing 4 posts - 1 through 4 (of 4 total)
  • Posted in: Atelier
  • #263065
    leggero
    Member
    Post count: 107

    Hi

    I’d like to add the avenir font form myfonts.com. They give me a script for trial to embedd these fonts.:

    font-family: ‘Avenir 35 Light’
    font-family: ‘Avenir 55 Roman’
    font-family: ‘Avenir 85 Heavy’
    font-family: ‘Avenir 65 Medium’

    <script type=”text/javascript”>
    (function() {
    var path = ‘//easy.myfonts.net/v2/js?sid=10336(font-family=Avenir+35+Light)&sid=10338(font-family=Avenir+55+Roman)&sid=10340(font-family=Avenir+85+Heavy)&sid=10344(font-family=Avenir+65+Medium)&key=iN3vaoouRb’,
    protocol = (‘https:’ == document.location.protocol ? ‘https:’ : ‘http:’),
    trial = document.createElement(‘script’);
    trial.type = ‘text/javascript’;
    trial.async = true;
    trial.src = protocol + path;
    var head = document.getElementsByTagName(“head”)[0];
    head.appendChild(trial);
    })();
    </script>

    I added the Typekit css, but it’s not working:

    /* BODY FONT */
    body,p {
    font-family:”Avenir 35 Light”!important;
    }

    /* HEADING FONT */
    h1, .impact-text,.impact-text-large {
    font-family: “Avenir 35 Light” !important;
    }

    Any ideas?

    Thanks for any help and best regards

    Caspar

    #263285
    David Martin – Support
    Moderator
    Post count: 20834

    Caspar do they provide a download file of the fonts?

    – What is your WP login details?

    Thanks.

    #263795
    leggero
    Member
    Post count: 107

    Hi David

    When i bought the fonts the gave me a zip-file to upload. With the ususal code for fonts it worked perfectly.

    Best regards

    Caspar

    #263797
    David Martin – Support
    Moderator
    Post count: 20834

    Great, yes the theme makes it very easy for you to upload the font files. Theme Options => Fonts.

    Thanks

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.