Cufon usage on custom element

resolved (2 posts) (2 voices)

  1. dmblover41
    Member

    There are a couple sections of my site where I'd like to use Cufon, but currently the theme only seems to use Cufon on certain predefined elements, and adding font-family:font-name-here; doesn't work like it would when adding it to a heading, for example. So, where can I go to allow Cufon usage on the ,post_more_link class, for example?

    I found old forum posts recommending editing code in the custom.js file, but that file has changed since then, as it doesn't include the Cufon code.

    Thanks for your help!

    Posted 5 months ago #
  2. Elliott
    Support

    Hello dmblover41,

    I recommend checking out the WP Google Fonts plugin for this, http://wordpress.org/extend/plugins/wp-google-fonts/stats/.

    If you still wish to use cufon then you can add this in Dashboard -> your theme -> General Settings -> Custom Javascript,

    jQuery(document).ready(function(){
    Cufon.replace('.post_more_link');
    });
    Posted 5 months ago #

Reply

You must log in to post.

Construct WordPress Theme
Construct wordpress theme
Myriad WordPress Theme
Myriad wordpress theme
Method WordPress Theme
Method wordpress theme
Fusion WordPress Theme
Fusion wordpress theme
Elegance WordPress Theme
Elegance wordpress theme
Echelon WordPress Theme
Echelon wordpress theme
Dejavu WordPress Theme
Dejavu wordpress theme
Modular WordPress Theme
Modular wordpress theme