The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

@font-family doesn't seem to be working properly in css?

Go down

ff0000 - @font-family doesn't seem to be working properly in css? Empty @font-family doesn't seem to be working properly in css?

Post by bmbmjmdm Tue 28 Jul - 15:48

Hi, I had this code on my site for a while and it just recently stopped working. I found that the url was broken, so I replaced that with a new one that I verified works. Still, it doesn't appear that the font-family is working for one reason or another.

In CSS:
@font-face {
    font-family: narutoFont;
  src: url('http://www.fontsaddict.com/download/ninja-naruto.ttf');
  format('truetype')
}


In Html:
<a "font-size: 400%; font-family: narutoFont; text-shadow: 2px 2px #FF0000;">
avatar
bmbmjmdm
Forumember

Posts : 52
Reputation : 1
Language : English

Back to top Go down

ff0000 - @font-family doesn't seem to be working properly in css? Empty Re: @font-family doesn't seem to be working properly in css?

Post by Guest Tue 28 Jul - 16:42

Hey, try this.

Code:
.font-face {
    font-family: narutoFont; !important;
  src: url(http://www.fontsaddict.com/download/ninja-naruto.ttf);
  format(truetype);
}
avatar
Guest
Guest


Back to top Go down

ff0000 - @font-family doesn't seem to be working properly in css? Empty Re: @font-family doesn't seem to be working properly in css?

Post by bmbmjmdm Tue 28 Jul - 16:55

Hi, thanks for the reply. Unfortunately it's still not working :/
avatar
bmbmjmdm
Forumember

Posts : 52
Reputation : 1
Language : English

Back to top Go down

ff0000 - @font-family doesn't seem to be working properly in css? Empty Re: @font-family doesn't seem to be working properly in css?

Post by Guest Tue 28 Jul - 16:57

bmbmjmdm wrote:Hi, thanks for the reply. Unfortunately it's still not working :/

Okay, try this.

Code:
@font-face {
    font-family: narutoFont !important;
  src: url(http://www.fontsaddict.com/download/ninja-naruto.ttf);
  format(truetype)
}
avatar
Guest
Guest


Back to top Go down

ff0000 - @font-family doesn't seem to be working properly in css? Empty Re: @font-family doesn't seem to be working properly in css?

Post by bmbmjmdm Tue 28 Jul - 17:00

Still nothing I'm afraid Sad
avatar
bmbmjmdm
Forumember

Posts : 52
Reputation : 1
Language : English

Back to top Go down

ff0000 - @font-family doesn't seem to be working properly in css? Empty Re: @font-family doesn't seem to be working properly in css?

Post by bmbmjmdm Thu 30 Jul - 16:47

bump~
avatar
bmbmjmdm
Forumember

Posts : 52
Reputation : 1
Language : English

Back to top Go down

ff0000 - @font-family doesn't seem to be working properly in css? Empty Re: @font-family doesn't seem to be working properly in css?

Post by bmbmjmdm Sat 1 Aug - 21:50

bumpbump
avatar
bmbmjmdm
Forumember

Posts : 52
Reputation : 1
Language : English

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum