test
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • jonatha2 Friend
    #185699

    Hello

    I run the Linlithgow Folk Festival Association website. The domain name is http://www.linlithgowfolk.com

    When viewed with the www. part it loads and views absolutely fine. However, when viewed by typing in linlithgowfolk.com (without the www.) it moves the menu text to a larger different font and this results in it moving down a line.

    This shouldnt happen. Can anyone advise why this is happening and what the solution is?

    Thanks
    Jonathan

    Luna Garden Moderator
    #485999

    Hello Jonathan,

    Please try this:

    Go to this file:

    ja_tirisfontsabelstylesheet.css
    Change these lines:

    @font-face {
    font-family: 'abelregular';
    src: url('abel-regular-webfont.eot');
    src: url('abel-regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('abel-regular-webfont.woff') format('woff'),
    url('abel-regular-webfont.ttf') format('truetype'),
    url('abel-regular-webfont.svg#abelregular') format('svg');
    font-weight: normal;
    font-style: normal;

    }
    to

    @font-face {
    font-family: 'abelregular';
    src: url('abel-regular-webfont.eot');
    src: local('fonts/abel'),
    src: url('abel-regular-webfont.eot?#iefix') format('embedded-opentype'),
    url('abel-regular-webfont.woff') format('woff'),
    url('abel-regular-webfont.ttf') format('truetype'),
    url('abel-regular-webfont.svg#abelregular') format('svg');
    font-weight: normal;
    font-style: normal;

    }

    Hope this helps

    jonatha2 Friend
    #486392

    Hello

    Thanks for this information. However, upon checking, the above instructions sort the problem when viewing the site as http://linlithgowfolk.com

    Though it results in http://www.linlithgowfolk.com showing the white bar problem.

    I have reset it back to what it originally was like. Can you indicate what the solution may be ?

    Jonathan

    Luna Garden Moderator
    #486417

    <em>@jonatha2 364349 wrote:</em><blockquote>Can you indicate what the solution may be ?

    </blockquote>

    Hi Jonathan,

    The problem is from Firefox default font policy, this template use font-face, but Firefox does not allow cross-domain fonts by default (even with sub-domains).

    For example, if you’re viewing this page:

    http://example.com/about

    and the fonts are being served via CSS from:

    http://www.example.com/templates/folder_template/css/templates.css

    You can follow some solution here may help you out:

    http://stackoverflow.com/questions/2892691/font-face-fonts-only-work-on-their-own-domain

    http://stackoverflow.com/questions/5008944/how-to-add-an-access-control-allow-origin-header

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

This topic contains 4 replies, has 2 voices, and was last updated by  Luna Garden 11 years, 9 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum