Categories

How to use Cufon replacement feature

Rating: 5.0/5. From 4 votes.
Please wait...

This tutorial will show you how to use Cufon plugin with WordPress. Cufon is a jquery plugin that allows you to use custom fonts on your website and guarantees that custom fonts will have same appearance for all visitors.

Cufon font-replacement feature in WordPress can be activated installing the WP-Cufón plugin. Before you proceed please check the following video tutorial on how to install plugins in WordPress.

 

1. First you have to convert your font-file into a Cufón compatible format. Currently TrueType (TTF), OpenType (OTF), Printer Font Binary (PFB) formats are supported.

2. You can do this by using Cufón’s own generator at http://cufon.shoqolate.com/generate/

3. Open /wp-content/plugins/ folder and create fonts folder. There you’ll upload the cufon font files (.font.js). The Plugin will recognize your uploaded fonts and activate them.

4. Open WordPress admin panel, go to Appearance>Cufon.

5. Into the Your Cufón replacement-code field input the font replacement code. For Example:

Cufon.replace ('nav a', { fontFamily:'Myriad Pro', hover:true});
Cufon.replace ('.entry-title, .page-title, .widget-title', { fontFamily:'Myriad'});

WP Cufon Feature(click to enlarge)

You should define the HTML element (h1 – h6, div, body, a, input etc) or some css class or ID (.entry-title, .widget-title, #content etc) and font family.

Font family name could be found in your .font.js file ( Cufon.registerFont({"w":205,"face":{"font-family":"Vegur Bold", … )

6. When you are done click Save Settings at the botom of the page.

 

Buy Wordpress Themes
This entry was posted in WordPress, WordPress Tutorials and tagged archived_tutorial, Cufon, font, jQuery, plugin, replacement, WordPress. Bookmark the permalink.

Submit a ticket

If you are still unable to find a sufficient tutorial regarding your issue please use the following link to submit a request to our technical support team. We'll provide you with our help and assistance within next 24 hours: Submit a ticket