Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Embedding font kits?


Go to End


3 Posts   1454 Views

Avatar
roz

Community Member, 7 Posts

14 July 2011 at 5:56am

Ive been trying to embed google fonts and/or @fontface for days, and keep getting errors using silverstripe that I previously didnt have when using wordpress and dreamweaver sites. Can anyone explain in detail how to make it work? I would appreciate it so much that I will send you some smoked fish.

Avatar
copernican

Community Member, 189 Posts

14 July 2011 at 6:30am

Hi Roz,

Just tried this locally on a basically fresh 2.4.5 install of SS. I didn't have any problems embedding the Lobster font.

One thing I noticed, and has sometimes given me grief in the past is the <?xml version='1.0' encoding='UTF-8'?> at the top of your template.

Does removing that have any effect?

Avatar
roz

Community Member, 7 Posts

14 July 2011 at 7:27am

Thank you! That was the problem exactly.