Skip to main content
Participant
January 31, 2024
Question

Adobe Fonts not importing to Wix as CSS

  • January 31, 2024
  • 2 replies
  • 2043 views

Hey everyone, 

 

I've been trying for several hours now to embed a font in my Wix Studio website, as I've seen that it's possible via CSS.

I'm not at all experienced with CSS but tried to follow some tutorials, yet it just seems that even when I'm [hopefully] doing everything as shown on Adobe website, the fonts just won't import to the website. 

I'm currently trying to add Kensington font to the website which didn't work at all, so I've tried importing Lust font, and it DID work, but didn't import as ITALIC. 

 

Here's what I've added to the css.global panel: 


@1552174 url("https://use.typekit.net/tie2ubf.css");


h1 {
font-family: "lust", sans-serif;
}

font-family: "lust", serif;
font-weight: 700;
font-style: italic;

}

 

 

---- Again, as mentioned, it did import LUST but not as Italic font. 
and it didn't at all imported any other font that I've tried. 



I could really use some help or know if there's any issue with importing and embedding fonts to websites in genral at the moment. 

 

Thank you guys in advance!

This topic has been closed for replies.

2 replies

Participant
February 15, 2024

Hey!

I have the same issue... The font is not applied, but if I specify a color then only the color is changed. Did you also add this <link rel=stylesheet" blabla > in the advanced settings to <head>?

I only want to change the H1.

Thank you!

Tarun Saini
Community Manager
Community Manager
February 15, 2024

Hi 

@lelelolo

,

 

We're sorry to hear about the issue you're seeing. Could you please let us know where you are trying to embed the code? Can you please share the code with us to check?

 

Regards,

Tarun

Participant
February 16, 2024

Hi,

Thank you for reaching out! I try to embed the code in Wix Studio to "global.css"

 

The code i used:


h1 {
font-family: "amandine", sans-serif;
font-weight: 400;
font-style: normal;
}
 
Participant
January 31, 2024

OMG! Came back to report that after hours of trying it finally worked! 

Here's the code I've used: 

 

  @1552174 url("https://use.typekit.net/aiv7ixt.css");


{ h1
  font-family: "kensington", sans-serif;
  }

  
 .rich-text__text {
   font-family: "kensington", sans-serif;
font-weight: 700;
font-style: normal;
   /* To learn more about CSS classes, visit https://support.wix.com/en/article/css-editing. Write your CSS here: */
}