Adobe Type Kit Issue with code

I use some adobe type kit fonts on my current Squarespace site that I am transferring to Wix in the New Year.
Adobe Gives this code embed code: <link rel=“stylesheet” href=“https://use.typekit.net/XXX.css
They give this JS solution:

I have been trying to get it to work with the $w.HtmlComponent (, but it is not working. I keep getting a red ! next to the at the top.

If someone has another way of making this work it would be a big help. I’ve branded myself based on these fonts.

If you are curious what fonts they are they are DIN Condensed and Europa. If they have another name in the Wix font library let me know.

Happy New Year!

1 Like

Any answers on this?

See the article Uploading and Using Your Own Fonts on how to add fonts to your site.

Note : Although the HtmlComponent can be used for embedding scripts and HTML in a Wix site page, the code will be sandboxed . That is, you won’t be able to access the page’s elements by using parent , window , top , etc. Same goes with the Javascript evaluate() function. It is sandboxed and does not allow access to the DOM. This means that the fonts being “added” in the script that you posted won’t be available to your site pages.

Yisrael,
That is a bummer. Thank you for your response. I went with another font that was similar for the time being.

Does the article Uploading and Using Your Own Fonts help?

@yisrael-wix Not real because I get the fonts through typekit. I know how to upload fonts when I have the files, but adobe doesn’t allow file downloads.

@elizabethjhay Yes - bummer!

@elizabethjhay I can’t really say what the technical challenges might be, but feel free to make a feature suggestion , and we’ll let the smart people at Wix figure it out.

How many feature requests does it take to add something (in my opinion) extremely important for Wix’s growth. I think there could easily be a add typekit option similar to adding Google Analytics tracking to your website. Come on guys.

This is a make or break feature for a ton of business as BRANDING is EVERYTHING and fonts play a major role in branding…

@travis Totally agree. This is major.

Bumping this as a feature request (I’ll look for the actual feature request page too).

Bumping a post does not accomplish a feature request - it only annoys. This post is being closed.

You can request a feature on the wishlist page .