The Ubuntu Font Now Available For Any Website Through Google Font Directory

Written by Andrew, @ http://www.webupd8.org/

Ubuntu font
Google announced that the Ubuntu Font Family is now available in the Google Font Directory which makes it very easy to install for any website:

Through the magic of the Google Font API any web designer can now pick Ubuntu from the Google Font Directory and bring the beauty and legibility of the Ubuntu fonts to their websites too.

To use it on your website, head over to Google Font Directory, select the Ubuntu font variant you want to use and copy the code to the “head” section of your blog (above “</head>”). The code looks like this:
<link href='http://fonts.googleapis.com/css?family=Ubuntu' rel='stylesheet' type='text/css'/>

You can use the font for all the font on the website or only for some parts of it like the posts tile (like we are using it here, on WebUpd8). To only use it for the post titles, search for “h1” in your CSS code and add this:

font-family: 'Ubuntu', arial, serif;

http://www.webupd8.org/2010/12/ubuntu-font-now-available-for-any.html

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s