-
AuthorPosts
-
March 10, 2013 at 4:35 pm #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
JonathanLuna Garden ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
March 11, 2013 at 9:21 am #485999Hello 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
1 user says Thank You to Luna Garden for this useful post
March 14, 2013 at 12:16 am #486392Hello
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 ModeratorLuna Garden
- Join date:
- July 2011
- Posts:
- 2617
- Downloads:
- 80
- Uploads:
- 96
- Thanks:
- 78
- Thanked:
- 453 times in 425 posts
March 14, 2013 at 4:02 am #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:
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
-
AuthorPosts
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