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)


 
Senior Member

Posted on Sat May 11, 2013 9:26 am

 
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:


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

please help me, please :(:

thanks before :)



View user profile



 
Advance Member

Posted on Sat May 11, 2013 2:54 pm

 
Also Me MoStone I Didnt See SpyAgent Font In My Laptop



View user profile



 
Senior Member

Posted on Sat May 11, 2013 3:38 pm

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

please someone help me tos olved this problem :(:



View user profile



 
Administrator
Administrator

Posted on Sat May 11, 2013 4:05 pm

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



View user profile http://coding-spot.darkbb.com



 
Senior Member

Posted on Sat May 11, 2013 5:13 pm

 
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:




View user profile



 
Senior Member

Posted on Sun May 12, 2013 6:44 pm

 
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 :):



View user profile



 
Administrator
Administrator

Posted on Sun May 12, 2013 9:59 pm

 
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;
}



View user profile http://coding-spot.darkbb.com



 
Senior Member

Posted on Mon May 13, 2013 12:51 am

 
yeah thanks for help me mr.mark :):

but that code doesn't work , i done add in my css


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 :):


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 :(



View user profile



 
Administrator
Administrator

Posted on Mon May 13, 2013 2:21 am

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



View user profile http://coding-spot.darkbb.com



 
Senior Member

Posted on Mon May 13, 2013 3:05 am

 
i done try mr.mark but doesn't work :)

result


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 :)



View user profile



 
Administrator
Administrator

Posted on Fri May 24, 2013 8:53 pm

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



View user profile http://coding-spot.darkbb.com


#12

Sponsored content


 

Posted Today at 11:47 am

 





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