• Home
  • Download
  • Links
  • Photoplog
  • Blowfish Secret
  • Base64
  • Wordpress Salt
  • Contact
  • ROM
  • Skins
  • VIP
  • Tutorial
Wckediden - Mobile Tricks and Tweaks Community  

Go Back   Wckediden - Mobile Tricks and Tweaks Community > Community Software > Webmaster Software (Windows System Only 64bit) > vB Programming Discussions
Reload this Page [INFO] How to change vbulletin default font
Wckediden
Register Forum Rules FAQ Members List Social Groups Search Today's Posts Mark Forums Read

Notices
Under Construction

WckedIDen Forum Renovations

WckedIDen is currently undergoing forum structure renovations. During this process, you may experience intermittent errors, unavailable pages, or temporary service interruptions.

Please be patient while we work to improve the forum. We appreciate your understanding and continued support.


Community Links
Social Groups
Pictures & Albums
Members List
Meet Our Staff
Search Forums
 
Tag Search
Advanced Search
Search Downloads
Advanced Search
Search Links
Advanced Search
Find All Thanked Posts



Post New ThreadReply
 
Thread Tools Search this Thread
  #1  
Old 07-13-2024, 02:06 AM
wcked's Avatar
wcked wcked is offline   Thread Starter  
Supporter/Designer
Mobile Model: Google Pixel 10 Pro
Mobile Carrier: Metro PCS
Mobile OS: Android

  usa
 
Join Date: November 8th, 2005
Location: North Philadelphia
Posts: 10,398
Downloads: 18
Uploads: 181
wcked has disabled reputation


View wcked's Profile   Edit Options Edit Profile Picture View wcked's Photo Album Add wcked's to Your Contacts Show Groups Edit Avatar Subscribed Threads Private Messages
Default How to change vbulletin default font

Thanks from wayne at vbulletin.com for the info


“ Originally Posted by Wayne Luke;n4412971 ”

First you have to load the font on the user's device since there is no guarantee that is is available. How are you doing this?

Google Fonts?

The best method for Google Fonts is to add the <link> code they provide to your header_include template. Once that is done, then edit your Style Variables and add the font family name to the beginning of the list for the global_header_font and global_text_font style variables.

If it is not available on Google Fonts then you need to make the WOFF file available to vBulletin. Following these steps;

1. These should be uploaded to their own subdirectory in /fonts/ on your server.

2. Once this is done, then you need to go into your AdminCP then Styles -> Style Manager. Select "Add New Template" from the dropdown. Give this template a name like "css_font_droidarabickufi.css" and add this code:

Code

<vb:if condition="!empty($use_regular) OR !empty($use_all)">
@font-face {
font-family: 'droidarabickufi';
src: url('fonts/droidarabickufi/droid-arabic-kufi.woff') format('woff');
font-weight: normal;
font-style: normal;
}
</vb:if>
3. Save this.

4. Then in css_fonts.css add this code:

Code

{vb:template css_font_droidarabickufi.css,
use_all=1,
}
5. Finally, go back to the Style Manager and choose "Style Variable Editor" for your style. In the global_header_text style variable add droidarabickufi followed by a comma that the beginning of the font family list. Do the same for global_text_font

Reply With Quote
wcked
View Public Profile
Visit wcked's homepage!
Find all posts by wcked
Post New ThreadReply

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Show Printable Version Show Printable Version
Email this Page Email this Page
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Rules

Similar Threads
Thread Thread Starter Forum Replies Last Post
[INFO] Tutorial how to change font colour on TF3D D/\SH Tutorial Forum 0 10-16-2008 01:45 PM
Font Change? poleman25 HTC Touch Questions 3 01-12-2008 09:38 PM
Change Font Style For Menus And System For Moto Q D/\SH Tutorial Forum 0 04-03-2007 11:32 PM


All times are GMT -4. The time now is 06:01 AM.

Wckediden Community - Archive - Privacy Statement - Terms of Service - Top


Powered by vBulletin® Version 3.8.14
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Template-Modifications by TMS
POWERED BY PHILLYFINESTSERVERSTAT FOR WCKEDIDEN|- NEXTELELITE| - PPCTHEME| - IDENINSIDER