Coding-Spot

You are not connected. Please login or register

 
 
 

Error using font for title Forum, sub forum and topic title.

Message (Page 1 of 1)

#1

weeknight

weeknight
 
Senior Member

Posted May 11th 2013, 4:26 pm

 
hello all :)
I want to ask :(:

why my font doesnt work in my forum? (Error using font for title Forum, sub forum and topic title.)
before im using font type "spy agency" in my forum.

that font work only if in my computer/notebook. because before im install in my computer.

but in another computer/notebook, doesn't work. :(

why about this?? i need my font work in another computer,
although another computer not install my font. :(

more details about my problem you can see this picture:
Error using font for title Forum, sub forum and topic title. ZPwdOxM

my forum:
http://astajim.indonesianforum.net/

please help me, please :(:

thanks before :)





#2

refresh101

refresh101
 
Advance Member

Posted May 11th 2013, 9:54 pm

 
Also Me MoStone I Didnt See SpyAgent Font In My Laptop





#3

weeknight

weeknight
 
Senior Member

Posted May 11th 2013, 10:38 pm

 
yeah becaus you dont install that font (spy agent) in your laptop :(:

please someone help me tos olved this problem :(:





#4

Mark

Mark
 
Administrator
Administrator

Posted May 11th 2013, 11:05 pm

 
Is the font free?
Because you need to install/put the font first on the website to make it work :):.



https://coding-spot.darkbb.com


#5

weeknight

weeknight
 
Senior Member

Posted May 12th 2013, 12:13 am

 
yeah, this font (spy agency) for free,
you can visit this link for see or download: http://www.dafont.com/search.php?q=agency

ttf file?
ok im search in google mr.mark, and i found this file for font spy agency :D
i need type: spyagency3condital.ttf
http://www.dafont.com/spy-agency.font?text=KICK+STARTER+SWAMI

continue what should I do mr.mark???

i dont know about this code, please help me :(

thanks before mr.mark :D:






#6

weeknight

weeknight
 
Senior Member

Posted May 13th 2013, 1:44 am

 
BUMP!!

please some one help me :(:

before i find this code,
but i dont know this code work or not, because i dont know how to use this code (explore this code so that font can work) for title forum, title sub forum, topic title.

this code
Code:
            @font-face {
              font-family: cool_font;
              src: url('cool_font.ttf');
            }

and this
Code:
            p.custom_font{
              font-family: cool_font; /* no .ttf */
            }

source this code:
http://www.howtoplaza.com/how-to-use-custom-fonts-on-your-website-with-css

this ttf link:
http://www.dafont.com/spy-agency.font?text=KICK+STARTER+SWAMI

-------------------------------------------------------------------------------

and i found about that code (use javascript)
and but i dont know about use this :(

he say:
Like I told you, you need to use google fonts script for this... like so"
Code:
        WebFontConfig = {
                google: { families: [ 'Tangerine', 'Cantarell' ] }
              };
        (function() {
        var link_font = document.createElement('script');
        link_font.src=('https:' == document.location.protocol ? 'https' : 'http') +"://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js";
        link_font.type="text/javascript";
        link_font.async="true";
        link_font.id="google_fonts";
        var get_script= document.getElementById('google_fonts')[0];
        get_script.parentNode.insertBefore(link_font,get_script);
        }();

CSS
Code:
        .element{font-family:'tangerine',sans-serif}
This way will be easier as it won't be such a long cache request.

-------------------------------------------

please explain again :(:
i need use font spy agency for my forum and and can be seen for everything. T_T

please help me :(

thanks before :):





#7

Mark

Mark
 
Administrator
Administrator

Posted May 13th 2013, 4:59 am

 
Finding an .ttf directly uploaded file is really hard... :):
So patience is a must.

Btw, add this to your CSS:
Code:
@font-face {
    font-family: SpyAgency;
    src: url('http://www.fontsaddict.com/download/spy-agency-condensed.ttf');
}
.secondarytitle, .secondarytitle h2 {
font-family: SpyAgency !important;
}



https://coding-spot.darkbb.com


#8

weeknight

weeknight
 
Senior Member

Posted May 13th 2013, 7:51 am

 
yeah thanks for help me mr.mark :):

but that code doesn't work , i done add in my css
Error using font for title Forum, sub forum and topic title. HBFl7UI

but not work :(

----------
before this my code (.secondarytitle, .secondarytitle h2) in my css, what needs to be removed??
but i done try remove, But just the same. not changed. :(
i dont understand about this mr.mark :):
Error using font for title Forum, sub forum and topic title. JQFYa29

Code:
.secondarytitle, .secondarytitle h2 {
    color: #EEEEEE;
    text-align: left;
    font-family: Spy Agency;
    text-shadow: 0 -1px 0 #666;
    font-size: 11px;
    padding-left: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-top: 5px;
    font-weight: normal;
}

please help me, to fix this problem.

my forum
http://astajim.indonesianforum.net/

thanks before mr.mark :D:

---------------------------------------

and i get this code from someone mr.mark, and i dont know how to use :(: i dont understand about this :(


well those are just fonts you can download your computer, there is a difference between computer fonts and webfonts. You have to remember you can assign any font in the font library, and if you don't have it on your computer it will not show up unless you have it on your personal computer. So that is where the google fonts come into play.

There are many additions to the WebFontConfig as you can see below that code we have

google: { families [""]}

We can also do the following

Code:
        WebFontConfig = { typekit: {
            id: 'myKitId'
          }
        };

or

Code:
        WebFontConfig ={
          ascender: {
            key: 'myAscenderKey',
            families: [ 'AscenderSans:bold,bolditalic,italic,regular' ]
          }
        };

or
Code:
        WebFontConfig ={
          monotype: {
            projectId: 'YourProjectId'
          }
        };

or
Code:

        WebFontConfig = {
          fontdeck: {
            id: 'xxxxx'
          }
        };


These are all providers -

The following can be found at

typekit: www.typekit.com
ascender: http://www.fontslive.com/
monotype: http://webfonts.fonts.com/
fontdeck: http://fontdeck.com/

the above you will have to sign up, create a deck and provide the information in the WebFontConfig via id or key. Hope this helps you and you get this working

i dont uderstand about this, please help me :(





#9

Mark

Mark
 
Administrator
Administrator

Posted May 13th 2013, 9:21 am

 
Put it at the very beginning of the CSS :):



https://coding-spot.darkbb.com


#10

weeknight

weeknight
 
Senior Member

Posted May 13th 2013, 10:05 am

 
i done try mr.mark but doesn't work :)
Error using font for title Forum, sub forum and topic title. 8qfBbzV
result
Error using font for title Forum, sub forum and topic title. VCbFTRc

Maybe you want to try to enter my ACP, i provide my account to you mr,mark via PM, no problem mr.mark :D

please help me mr.mark :(

thanks before :)





#11

Mark

Mark
 
Administrator
Administrator

Posted May 25th 2013, 3:53 am

 
Since the problem was solved in other ways, i'll locked this and move to garbage section. :):
~ Locked and Moved



https://coding-spot.darkbb.com


#12

Sponsored content


 

Posted

 





Message (Page 1 of 1)

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

In total there is 0 user online :: 0 Registered, 0 Hidden and 0 Guests

Users browsing this forum: None