@font-face not apparently working in latest version of Chrome?


@font-face {
	font-family: 'lastman';
	src: url('./fonts/lastman.ttf') format('truetype');
}

header h1 {
	margin: 0px 0px 0px 200px;
	font-family: 'lastman', verdana;
	font-size: 30px;
	color: #94b529;
}

The fonts folder is directly below the css folder, i.e ./css/fonts/

h1 is displayed in verdana not lastman font :frowning:

Shouldn’t your URL be …/fonts/lastman.ttf then?

No, the fonts folder is directly below the css folder,

i.e

/css/main.css

/css/fonts/lastman.ttf

Okay worked this out, a comment wasn’t correctly tagged above the @font-face class … opps!

Thanks for letting us know what you found.