The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Can you add custom fonts to vbulletin and use them in styles?
Not for posting...
www.nbadimensions.net/forums/ Basically all of the headers there are images, I'd much rather them be text rather then images in the same format. --------------- Added [DATE]1351137325[/DATE] at [TIME]1351137325[/TIME] --------------- I've tried @font-face... Code:
@font-face { font-family: 'customfont'; src: url('images/nbadv2/font/custom.ttf'); } Code:
<div style="font-family:'customfont';">NBA DIMENSIONS</div> |
#2
|
||||
|
||||
I usually put it my my 'extras' CSS. Additional or whatever it's called (have done too much xenforo design lately, so I lost the name). Don't use inline styling, it ads more 'junk' to your code and it's 'dirty'.
here's how I set a custom font for my forums Code:
@font-face {font-family: topcom; src: url('img/com.ttf');} h1 {font-family:topcom;} /* the element that needs styling */ PS: make sure the font is where it's supposed to be. I usually mess up the path to it and wonder why it doesn't work |
#3
|
||||
|
||||
There was a thread about this over on vbulletin.com. I'd suggest you do a search if what wtricks wrote isn't helping.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|