*Windows* font won't show

TrueJewix

Member
Aug 9, 2012
332
21
I've been trying to get it to work, but it really won't work. I do not know why (and yes, I've tried googling).
On MacBook it does, but on Windows doesn't.

And I got a VPS...
 
- Screenshots, am I linking it right?

&
 

Benden

maging ang maganda mamatay
Jun 4, 2010
2,281
1,480
Code:
@font-face {
    font-family: myFirstFont;
    src: url(LINKGOESHERE);
}

div {
    font-family: myFirstFont;
}

You can name the font family whatever you want.
 

BIOS

ಠ‿ಠ
Apr 25, 2012
906
247
@Canadian,
is that a link I can put or does it have to be a certain link?
This is the link of a webpage, the link has to be directly to the font file...

1. Download a font of your choice
2. Place the file within your site directory somewhere
3. Link the page to the font
4. Use the font
 

TrueJewix

Member
Aug 9, 2012
332
21
This is the link of a webpage, the link has to be directly to the font file...

1. Download a font of your choice
2. Place the file within your site directory somewhere
3. Link the page to the font
4. Use the font
LMAO I dont know what u mean directly to the font file... ngl Lol
& ? pls do it lmao
 

Benden

maging ang maganda mamatay
Jun 4, 2010
2,281
1,480
The font you downloaded, put it where you put your CSS file. Now in the irl section put the path to said file. /CSS/font.font

If you don't get it there's no helping you

1. Download the font
2. Put it where your CSS file is
3. In code above, type in location of the font file (including your font name)
 

BIOS

ಠ‿ಠ
Apr 25, 2012
906
247
LMAO I dont know what u mean directly to the font file... ngl Lol
& ? pls do it lmao

Mmdjnkj.png

3BoT8xs.png

lNTezd3.png

pAGxyz9.png

D3mznuc.png
 

TesoMayn

Boredom, it vexes me.
Oct 30, 2011
1,482
1,482
Again, you are asking for help for something five seconds on Google could solve, and again you're doing something you don't have a basic understanding of.

Download the font (it'll be an OTF file) and then in your web directory make a 'fonts' folder

At the top of your CSS file put this
HTML:
@font-face {
  font-family: 'BebasNeue';
  src: url('/path/to/BebasNeue.otf') format('otf');
}

And then to apply that to an element you'd use
HTML:
font-family: 'BebasNeue', sans-serif;

If you do not understand this, than you are a retard and you should not even be attempting simple CSS.
 

Benden

maging ang maganda mamatay
Jun 4, 2010
2,281
1,480
Sigh. There's no font family with "regular" in it

You names the font BebasNeue so when you want to use the font you need to type that, not BebasNeueRegular. According to your code that font doesn't exist
 

Users who are viewing this thread

Top