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

@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 July 28th 2015, 2:48 pm

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

@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 July 28th 2015, 3:42 pm

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

@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 July 28th 2015, 3:55 pm

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

@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 July 28th 2015, 3:57 pm

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

@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 July 28th 2015, 4:00 pm

Still nothing I'm afraid Sad
avatar
bmbmjmdm
Forumember

Posts : 52
Reputation : 1
Language : English

Back to top Go down

@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 July 30th 2015, 3:47 pm

bump~
avatar
bmbmjmdm
Forumember

Posts : 52
Reputation : 1
Language : English

Back to top Go down

@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 August 1st 2015, 8:50 pm

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