Want a custom font? Learn how!
#11
If its for you and only you, you cannot put it into the CSS, unless you know a code to limit it only to you.
If you want it to appear in your posts then post this:
[font=Terminus]text[/font]

On second thought, how do you guys like the code?
http://community.mybb.com/thread-99571-p...#pid726699
I wanna a response to that thread... any help?
Reply
#12
I'll duplicate the installed theme with a new name, then change the font.
[Image: hdoE.png]
m1ne.net - coming soon
Reply
#13
Do you like the guide though? If so give me rep Smile
http://community.mybb.com/thread-99571-p...#pid726699
I wanna a response to that thread... any help?
Reply
#14
Note that this relies on a browser with a fairly up-to-date implementation of CSS3.
[Image: 422.png]
Reply
#15
You can upload the font to the host
Hi!
Reply
#16
Be sure that the font you're trying to use allows such use in it's license. A lot of the commercial fonts I've seen have a special clause in the license regarding @font-face. Most free fonts don't because the unmodified license usually allows it anyway.
[Image: LogoO.png]
Reply
#17
Re the guide - it could be a lot clearer - you are not covering older browsers either. If you want a custom font for IE6/7 then you will also need to upload the eot file.

@font-face {
 /* for IE */ 
       font-family: 'MyCustomFont';
       src: url(images/font/nameoffont.eot) /* EOT file for IE */
}

@font-face {
       font-family: 'MyCustomFont';
       src: url(images/font/nameoffont.ttf)
}
.thead {
	color: #ffffff;
	font-family: 'MyCustomFont', Verdana, sans-serif;
	font-size: 14px;
}

Random Fish and Sims Maniac
MY PLUGINS
Help MyBBSupport help you - remember to mark your threads as solved


Reply
#18
Usually, people update their browsers when new ones come out, kinda like how people upgrade after MyBB gets a new version.

Also, I didn't use a guide, I used it from my own knowledge and it works


However, I am really surprised that IE used eot files...
That is pretty outdated, considering that we dont need embedded fonts now.

Convert your TTF to EOT here
http://community.mybb.com/thread-99571-p...#pid726699
I wanna a response to that thread... any help?
Reply
#19
TTF work for me ;?
Hi!
Reply
#20
Well people with older versions of IE can't view it because Microsoft makes things really hard for people, you see they literally MAKE you use a certain file type they invented in their programs, why? So that they can make more money for more people who make the file extension.
http://community.mybb.com/thread-99571-p...#pid726699
I wanna a response to that thread... any help?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)