New Landing How can we help? Themeforest Theme Support Flexform FontDeck font is not loading on site

Viewing 15 posts - 1 through 15 (of 20 total)
  • Posted in: Flexform
  • #1764
    nick_hanabi
    Member
    Post count: 3

    First off, thanks for the amazing theme!

    My first time using FontDeck or anything similar to host fonts. I am in the process of building a website and purchased Din Text Pro Regular to use (same as what flexform uses coincidentally). I’ve added it correctly to my site code in the Font Options spaces provided (I believe) and it shows up when I check the CSS code for each text element (h1, body, etc.), though it does not seem to be working, at least not on my end.

    Not sure if being the developer I’m not supposed to be seeing this because it will count against my monthly allotted views, though this would be silly because I can’t properly view my site as a visitor would.

    My site is ElevenSEO.com. The code I’ve added looks like this:

     

    Standard FontDeck Font:

    body, h6, #sidebar .widget-heading h3, #header-search input, .header-items h3.phone-number, .related-wrap h4, #comments-list > h4, .item-heading h1, .sf-button, button, input[type=”submit”], input[type=”reset”], input[type=”button”], input[type=”email”], .wpb_accordion_section h3, #header-login input, #mobile-navigation > div, .search-form input { font-family:”Din Text Pro Regular”, Verdana, sans-serif; font-size-adjust:0.5; font-weight:normal; font-style:normal; }

     

    Heading FontDeck Font:

    h1, h2, h3, h4, h5, .heading-font, .custom-caption p, span.dropcap1, span.dropcap2, span.dropcap3, span.dropcap4, .wpb_call_text, .impact-text, .testimonial-text, .header-advert, .wpb_call_text, .impact-text { font-family:”Din Text Pro Regular”, Verdana, sans-serif; font-size-adjust:0.5; font-weight:normal; font-style:normal; }

     

    FontDeck JS Code:

    <script type=”text/javascript”>
    WebFontConfig = { fontdeck: { id: ‘32105’ } };

    (function() {
    var wf = document.createElement(‘script’);
    wf.src = (‘https:’ == document.location.protocol ? ‘https’ : ‘http’) +
    ‘://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js’;
    wf.type = ‘text/javascript’;
    wf.async = ‘true’;
    var s = document.getElementsByTagName(‘script’)[0];
    s.parentNode.insertBefore(wf, s);
    })();
    </script>

     

    Perhaps I am still missing something? I did not install the FontDeck plugin as there were no instructions to do so, and it would seem the above code additions would make it unnecessary.

    Thanks so much for a great theme and for your assistance. My apologies if this question has been asked before- my initial search did not yield any similar queries.

    Best Regards,

    Nick of ElevenSEO.com

    #1766
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi Nick,

    You’re welcome, glad you’re enjoying it!

    The font css code that you add, should be the following for both sections:

    div { font-family:"Din Text Pro Regular", Verdana, sans-serif; font-size-adjust:0.5; font-weight:normal; font-style:normal; }

    We have code that changes the “div” to be the right selectors in the output. Can you confirm that’s what you’ve done?

    – Ed

    #1783
    nick_hanabi
    Member
    Post count: 3

    Hi Ed,

    Thanks for the quick response. Originally, I did have that code for both css sections, but it was not working that way either so I assumed I needed to specify. I have just changed it to match what you sent below, but the font still does not load.

    ElevenSEO.com is the site if you need to take a look. Let me know what you think I need to do.

    Thanks

    #1807
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hmm.. Code all seems ok. Do you have the domain added on FontDeck?

    – Ed

    #1813
    nick_hanabi
    Member
    Post count: 3

    Ok good to know that the code is ok on the site end. I do have the domain added on FontDeck and it is listed correctly (without the ‘www’).

    Again, my first time using FontDeck so perhaps something needs to be enabled on their end still. I will contact them as this is more likely an issue on their end.

    Thanks for the help Ed. I’ll post the solution whenever I figure it out to hopefully help someone else that this may happen to.

    -Nick

    #1944
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Sure Nick, just comment again when you hear.

    – Ed

    #26032
    daniella.borges
    Member
    Post count: 145

    Hello,

    I have the same problem. This problem appeared when I uptated my theme.

    I tried some solutions:

    1- Put the code “div.heading-text {font-family:”Din Text Pro Regular”, Verdana, Verdana, sans-serif ;font-size-adjust:0.5;font-weight:normal;font-style:normal;}” on the Panel on “Heading Font Deck Font”;

    2- Put this code directly on style.css

    3- Change this codes on style.css:

    body, h1, h2, h3, h4, h5, h6 {
    font-family: “Din Text Pro Regular”, Arial, Helvetica, Tahoma, sans-serif;
    }

    I saw on the Fire Bug that this font didn´t reload, the site use the second font, in this case, Arial.

    Do you have other suggestion for me?

    Thanks,

    #26355
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Can you provide a link to your site?

    Please follow the guidelines strictly that is included in the steps/documentation.

    – Ed

    #32721
    daniella.borges
    Member
    Post count: 145

    Ed,

    I followed this steps, but I need to pay Font Deck? To me, shows the value $12.50 per year.

    Remember that I already had this font, but when I did the update this font was lost.

    Thanks,

    #32779
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi there,

    Not sure how you managed to have the font before, but yes you will need to pay to use FontDeck fonts.

    – Ed

    #32869
    daniella.borges
    Member
    Post count: 145

    Ok,

    I will pay, and then I will test.

    I will leave this ticket open until I fix this.

    Thanks,

    #36101
    daniella.borges
    Member
    Post count: 145

    Ed,

    I bought the font but I have problems.

    In Chrome the font doesn´t appear and in Firefox the font shows smaller than the demo.

    See attached files.

    Thanks,

    #37106
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi there,

    Are you seeing the same on our demo though? The font will appear slightly different across different browsers. Make sure you’ve cleared your browser cache.

    – Ed

    #41642
    daniella.borges
    Member
    Post count: 145

    Hello,

    In demo it´s ok. My cache it´s ok. This problem is that font doesn´t loading because appear other font instead of this. Appears “Helvetica”.

    Thanks,

    #41757
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    If you provide a link to the site I can try and help debug it.

    – Ed

Viewing 15 posts - 1 through 15 (of 20 total)

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

License required for the following item
Login and Registration Log in · Register