Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8327075
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T00:58:56+00:00 2026-06-09T00:58:56+00:00

I am new to cufon and i am facing some problems in getting it

  • 0

I am new to cufon and i am facing some problems in getting it to work. I am trying to get the cufon to work with my html. I am trying a basic script(like changing the h1 tag to different font).

Example:

   <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
   <script type="text/javascript" src="{{STATIC_URL}}js/cufon-yui.js"></script>
   <script type="text/javascript">
        Cufon.replace('h1',{font-family: "Tahoma"});
   </script>

The h1 tag doesn’t seem to change. Not sure where the error is. I have already included the jquery lib, cufon js but it doesn’t work. Need some guidance.. Thanks…

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T00:58:57+00:00Added an answer on June 9, 2026 at 12:58 am

    You need to convert the font you want to use into a js file by using the tool on http://cufon.shoqolate.com/generate/.

    After that, you just need to link to it (assuming you want to use tahoma and {{STATIC_URL}} gets turned into a correct path):

    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
    <script type="text/javascript" src="{{STATIC_URL}}js/cufon-yui.js"></script>
    <script type="text/javascript" src="{{STATIC_URL}}js/tahoma.js"></script>
    <script type="text/javascript">
        Cufon.replace('h1');
    </script>
    

    Don’t forget to add <script type="text/javascript"> Cufon.now();</script> just before the closing </body> tag to make IE behave. More info can be found on https://github.com/sorccu/cufon/wiki/Usage.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to get this content loader to work and I've managed to get
new to c#. I'm trying to make a simple system where I can search
New to Node.js and Express, I am trying to understand the two seems overlapping
New programmer here, I am trying to understand and break down this code below
New to spring. I'm getting the following exception being caught: 2012-06-14 16:20:57,719 [http-8080-6] ERROR
New to wordpress and web design in general. I'm trying to setup a website
I have a page which uses cufon and asp:UpdatePanel. After ajax callback the new
Thanks for taking the time to read. I am having some problems with JScrollPane
new AjaxOptions { OnBegin = MyFunction, Url=/Controller/JSONAction/+OnbeginRetunrValue, HttpMethod=GET } In my Ajax properties, I
New to SharePoint. I'm trying to upload a document to SharePoint using it's CopyIntoItems

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.