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.

General Questions /

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

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

Embedding font kits?


Reply


3 Posts   802 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.