Site logo

Archived topic

Custom fonts don't appear in the website

4 replies · Started by Frederique on December 20, 2021

Viewing posts 1–5 of 5

Hi there:)

I'm used to add some custom fonts but here ! two hours after, can't see why one of the two don't show up :(

I do add my fonts in the theme folder (fonts)
and add @font-face in style.css or customizer to see if it made a difference but nope :(

One works and not the other.

@font-face {
    font-family: 'toto';
	src: local('toto'),
	src: url('https://www.colormyweb.pro/Buxerolles/wp-content/themes/Buxerolles/fonts/toto.ttf');
}

If you see here, you may catch it (https://www.colormyweb.pro/Buxerolles/wp-content/themes/Buxerolles/fonts/toto.ttf)

Really tried everything (rewrite names, with or without dashes etc...) without any success, it's like they're s.think blocking it :(

fonts in server

Any idea where would it come from ?
Thx a lot !!
FG

Hi Frederique,

Can you like us to the page where the content is using the local font?

Let me know :)

Hi there!
Thx for your reply, it's global, on the entire website...

Updated :)
Found the error.
Thx !

Great! Glad you sort it out :)

This archived topic is closed to new replies.