Next.js Discord

Discord Forum

I need help with importing an adobe font with the app layout in Next 13

Unanswered
Jimdog posted this in #help-forum
Open in Discord
Avatar
I'm trying to import a font Cinque Donne into my project.

I am using the next Head in my layout.jsx to import the adobe font. I've then hooked this up to my tailwind config and styled a p tag to test it, but it defaults to sans serif as it's not being imported properly. When I check my Head in dev tools, the adobe font link isn't there.

Anyone know a fix?
Image
Image
Image
Image
Image

7 Replies

Avatar
next/head doesn’t work
Avatar
Image
Avatar
In the root layout then just use lowercase <head>
Yes then lowercase <head>
Avatar
Oh right i'll give that a go thank you
Fixed thanks mate
I'll close the ticket