![]() |
|
Change default font to a custom font in mybb? - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444) +--- Forum: Webmasters (https://hackforums.net/forumdisplay.php?fid=141) +---- Forum: Website Construction (https://hackforums.net/forumdisplay.php?fid=50) +---- Thread: Change default font to a custom font in mybb? (/showthread.php?tid=2339931) |
Change default font to a custom font in mybb? - Jawѕh - Mar 26, 2012 Wondering if anyone happens to know how to change the default font in a mybb theme to a custom font? The part i have highlighted in this image below is the part of where my font is forum wise. Changed the color of it, that's how i know how. Don't know how to actually add a custom font in mybb though, and how to switch it out with the current default. [img]http://speedcap.net/img/55b14a273abf4db5ec4e676c9d27c0a1/d706923c.png[/img] Any help would be appreciated! Still need help with this! Would be appreciated! * - Inso - Mar 26, 2012 Change the font to what ever name you want, e.g "impact" or "arial". If you want to install a custom font, you can use the @font-face style. Code @font-face {As you can see from this, IE uses the EOT file format, where as most other browsers use TTF. You put both of these in the texts style, that was if one doesn't work, it will go to the next (for browser compatibility) and if neither work, then it will use your 3rd choice (in this case, Arial). EDIT: For this to work, you will have to put the custom fonts in the same folder as your css file. You will also need to make sure you have the eot and ttf versions of the font, you can find converters online for this if you need it. |