WordPress: implement ‘Droid Sans’ font
The Google Web Fonts – “Droid Sans is a humanist sans serif typeface designed by Steve Matteson, Type Director of Ascender Corp. Droid Sans was designed with an upright stress, open forms and a neutral, yet friendly appearance. Droid Sans was optimized for user interfaces and to be comfortable for reading on a mobile handset in menus, web browser and other screen text.”
The example of the Droid Sans is right infront of you, the whole Kampung Toys blogs are using Droid Sans typeface now since i found previous fonts kinda messy and not read-friendly enough.
Below are two ways to implement Droid Sans from Google Fonts into your site:
1st method, insert code below on the top of Stylesheet (style.css)
|
1 |
@import url(http://fonts.googleapis.com/css?family=Droid+Sans); |
2nd method, insert code below in Theme Functions (functions.php)
|
1 2 3 4 |
add_action( 'wp_enqueue_scripts', 'load_google_fonts' ); function load_google_fonts() { wp_enqueue_style( 'google-fonts', 'http://fonts.googleapis.com/css?family=Droid+Sans', array(), PARENT_THEME_VERSION ); } |
Then type in droid sans at the font family section, in Stylesheet (style.css) as below,
|
1 |
font-family: 'Droid Sans', sans-serif; |



Recent Comments