The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

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

View previous topic View next topic Go down

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

Post by bmbmjmdm on 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;">

bmbmjmdm
Forumember

Posts : 52
Reputation : 1
Language : English

Back to top Go down

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

Post by Guest on 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);
}

Guest
Guest


Back to top Go down

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

Post by bmbmjmdm on July 28th 2015, 3:55 pm

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

bmbmjmdm
Forumember

Posts : 52
Reputation : 1
Language : English

Back to top Go down

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

Post by Guest on 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)
}

Guest
Guest


Back to top Go down

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

Post by bmbmjmdm on July 28th 2015, 4:00 pm

Still nothing I'm afraid Sad

bmbmjmdm
Forumember

Posts : 52
Reputation : 1
Language : English

Back to top Go down

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

Post by bmbmjmdm on July 30th 2015, 3:47 pm

bump~

bmbmjmdm
Forumember

Posts : 52
Reputation : 1
Language : English

Back to top Go down

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

Post by bmbmjmdm on August 1st 2015, 8:50 pm

bumpbump

bmbmjmdm
Forumember

Posts : 52
Reputation : 1
Language : English

Back to top Go down

View previous topic View next topic Back to top


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