-4

Signika Negative Bold font doesnt work on my html site, If I try some other fonts it works but with font-family: 'Signika Negative Bold';

it doesnt work

html:

<div id="green">hewhehhwhehwe </div>

css:

#green {
font-family: 'Signika Negative Bold';
}

this is what I have right now

tomdebom
  • 11
  • 3
  • 2
    how do you import it ? Where you use it ? Put more details if you want an answer ! – abraham63 Mar 14 '18 at 11:58
  • Does the font have 'Bold" in its name? Have you tried 'Signika Negative' for a name and a bold font-weight? – Mr Lister Mar 14 '18 at 12:07
  • 1
    @tomdebom If that is what you have, the answer surely must be that you don't have that font installed on your computer. – Mr Lister Mar 14 '18 at 12:09
  • Since when do you need to instal fonts? @MrLister and without bold it also doesnt work – tomdebom Mar 14 '18 at 12:11
  • 1
    *Since when do you need to instal fonts?* Since **always**...in some cases your software might have them sntalled by default but it won't have **every** font by default...nor will your user's device. – Paulie_D Mar 14 '18 at 12:13
  • @Paulie_D how do i do that? and is it a code so everyone who visiteds the page gets it? – tomdebom Mar 14 '18 at 12:14
  • https://stackoverflow.com/questions/3947766/how-to-install-a-font-in-server – Paulie_D Mar 14 '18 at 12:14
  • https://stackoverflow.com/questions/7961721/how-do-i-install-a-custom-font-on-an-html-site – Paulie_D Mar 14 '18 at 12:16

1 Answers1

-1

Please Specify font name and specify the URL, like shown below:

<!DOCTYPE html>
<html>
<head>
<style> 
    @font-face {
    font-family: myFirstFont;
    src: url(signika-v8-latin-regular.woff);
}


div {
    font-family: myFirstFont;
}
</style>
</head>
<body>

<h1>The @font-face Rule</h1>

</body>
</html>
V5NEXT
  • 1,907
  • 4
  • 19
  • 38