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.
Note : Although the HtmlComponent can be used for embedding scripts and HTML in a Wix site page, the code will besandboxed. That is, you won’t be able to access the page’s elements by usingparent,window,top, etc. Same goes with the Javascriptevaluate()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-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 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.