Jump to content

Adding font license code without Premium

Go to solution Solved by Ziggy,

Recommended Posts

Hi there!

I've just purchased a web license from MyFonts and there is some html code to add to the head. I know I need to enter it in "code injection" but I don't have a Premium plan so the option isn't available to me. Is there any way around this? Can I somehow convert the code to CSS and enter it there instead? The code looks like this:

<!--
/**
* @license
* MyFonts Webfont Build ID 844405
*
* The fonts listed in this notice are subject to the End User License
* Agreement(s) entered into by the website owner. All other parties are
* explicitly restricted from using the Licensed Webfonts(s).
*
* You may obtain a valid license from one of MyFonts official sites.
* http://www.fonts.com
* http://www.myfonts.com
* http://www.linotype.com
*
*/
-->
<link rel="stylesheet" type="text/css" href="Ano_Angular_Regular.css">

 

 

Link to comment
  • Solution

Add this in a markdown block (within <script>***</script> tags) in the final section of your footer.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Yes, that's correct.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Just a quick update, in case anyone else is curious about MyFonts tracking/view count: I just spoke to customer support at MyFonts. For view count purposes they used to supply a tracking script (@import rule). As per the recently updated licensing terms they no longer do that. However, you are obligated to maintain records with respect to your actual monthly page views. They suggested Google Analytics for that purpose but Squarespace Analytics also does the job.

Link to comment

Nice one with the update and info! Always helpful and appreciated on the forum.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

🔌 Ghost Squarespace Plugins (Referral link)
📈 SEO Space (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲 SQSP Themes (Referral link) 
Spark Plugin (Referral link) 

 Did I help? Buy me a coffee?

Link to comment

Another update: I've been stoooopid. MyFonts does provide a CSS version of the license code along with the @font-face rule, I just didn't spot it. It's the .css file in the main folder of your font Kit. (The text in the StartHere.html document that I  copied and pasted into my initial post in this thread is just a sample text with a sample webfont build ID, not your personal one!) For Squarespace all you need is the code in the .css file.

Customer support sent me this link with detailed instructions. (The article is a bit old, you can ignore the @import rule bit since MyFonts no longer use tracking scripts and it doesn't appear in your font Kit.)

https://blog.edross.co.uk/post/77473634153/using-custom-fonts-on-squarespace-with-myfonts

 

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.