1
The Furniture Store WordPress Theme = recommended tip = how to FAQs = customize Using Cùfon font replacement -------------------- Where it is used Cúfon font replacement is used for: Widget Titles, the regular blog posts titles on multiple post pages, the single post titles (for both products and regular blog posts) and the Comments, Leave a Reply and Trackbacks Titles on single pages again. ----------------------- How to customize: Visit the cufon website here: http://cufon.shoqolate.com/generate/ and follow the instructions to create your own font file. That is if you don't want the font I have chosen or your language contains special characters (ü, ä, ö etc.) A helpful tutorial for doing this is found here:http://net.tutsplus.com/videos/screencasts/the- easiest-way-to-use-any-font-you-wish/ The steps you are concerned with are step2, 2b, 2c Then upload the generated js file (from the Cùfon site) inside the js folder you see in TheFurnitureStore parent theme. Open cat_navi.php (lib > engine) and find line 23: wp_enqueue_script( 'Napoleodoni_400-Napoleodoni_700.font',get_template_directory_uri().'/js/Napoleodoni_400- Napoleodoni_700.font.js', '1.02', true ); replace what I have highlighted red with your js file name. That's it! If you want the font to be used to replace the text in more or less elements then you need to adjust myjquery.js. The code under the comment „Font Replacement“

09 Using Cufon

  • Upload
    felixmt

  • View
    213

  • Download
    0

Embed Size (px)

DESCRIPTION

09 Using Cufon

Citation preview

Page 1: 09 Using Cufon

The Furniture Store WordPress Theme

= recommended tip = how to FAQs = customize

Using Cùfon font replacement

--------------------Where it is usedCúfon font replacement is used for:

Widget Titles, the regular blog posts titles on multiple post pages, the single post titles (for both products and regular blog posts) and the Comments, Leave a Reply and Trackbacks Titles on single pages again.

-----------------------How to customize:

Visit the cufon website here: http://cufon.shoqolate.com/generate/and follow the instructions to create your own font file. That is if you don't want the font I have chosen or your language contains special characters (ü, ä, ö etc.)

A helpful tutorial for doing this is found here:http://net.tutsplus.com/videos/screencasts/the-easiest-way-to-use-any-font-you-wish/

The steps you are concerned with are step2, 2b, 2c

Then upload the generated js file (from the Cùfon site) inside the js folder you see in TheFurnitureStore parent theme.

Open cat_navi.php (lib > engine) and find line 23:

wp_enqueue_script( 'Napoleodoni_400-Napoleodoni_700.font',get_template_directory_uri().'/js/Napoleodoni_400-Napoleodoni_700.font.js', '1.02', true );

replace what I have highlighted red with your js file name. That's it!

If you want the font to be used to replace the text in more or less elements then you need to adjust myjquery.js. The code under the comment „Font Replacement“