New Landing How can we help? Themeforest Theme Support Dante New webfont (myfonts.com) in Dante template

Viewing 15 posts - 1 through 15 (of 18 total)
  • Posted in: Dante
  • #80191
    brebber
    Member
    Post count: 122

    Hi, I want to include the webfont Trand Handmade (TrendHMSansOne) from myfonts.com in my WordPress Template (Dante).

    Do you know a WordPress Plugin or do you have a step by step tutorial that helps me to include the font?

    Thanks for your answer.

    #80435
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please follow this tutorial http://dante.swiftideas.net/documentation/#font-options to install web fonts. Hope that should help and let me know.
    Thanks 🙂
    With Best Regards
    Swift Ideas

    #133196
    brebber
    Member
    Post count: 122

    Thanks, I resolve the problem with the plugin “Any Font”.

    #133202
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Glad it’s sorted.
    -Rui

    #235094
    clm5322
    Member
    Post count: 9

    Hi I have a question about this. I followed the steps you outlined above and it’s not working. The only problem I can think of is that you don’t mention where in the server I should upload these files. I have them 2 places right now, the child root, and a folder called “fonts” in the child root.
    Could you help?
    Thank you!

    #235404
    David Martin – Support
    Moderator
    Post count: 20834

    Hi @clm5322,

    Can you post what code you are trying to use?

    Please also add your URL.

    Thanks.

    #235408
    clm5322
    Member
    Post count: 9
    This reply has been marked as private.
    #235692
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    You have not updated the file path to the font you have uploaded to your theme.

    Upload the fonts using the media uploader, then update the path for each font: url('laneposh-webfont.woff') becomes url('http://www.yoursite.com/wp-content/uploads/2015/12laneposh-webfont.woff')

    Thanks.

    #236342
    clm5322
    Member
    Post count: 9
    This reply has been marked as private.
    #236343
    David Martin – Support
    Moderator
    Post count: 20834

    Great, glad you got it sorted!

    Thanks.

    #236354
    clm5322
    Member
    Post count: 9
    This reply has been marked as private.
    #236587
    David Martin – Support
    Moderator
    Post count: 20834

    I don’t see anywhere in your code where you have added the code? Have you added it to your Theme Options => Custom CSS.

    Have you got any cache plugins running?

    Please add a WP login.

    Thanks

    #236588
    clm5322
    Member
    Post count: 9
    This reply has been marked as private.
    #236595
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    Your CSS was missing a closing bracket:

    .header-container #logo .mobile-menu-show{
        display:none !important;
    }

    Lasty your domain is actually blocking the font, so you will need to add this to your CSS:

    <IfModule mod_headers.c>
    <FilesMatch "\.(svg|ttf|otf|eot|woff|woff2)$">
        Header set Access-Control-Allow-Origin "*"
    </FilesMatch>
    </IfModule>

    Thanks.

    #236602
    clm5322
    Member
    Post count: 9
    This reply has been marked as private.
Viewing 15 posts - 1 through 15 (of 18 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register