2023 posts Review Manager
  • Has referred 10+ members
  • Has sold $5,000+ on Envato Market
  • Has collected 100+ items on Envato Market
  • Member of the Envato Team
+12 more
jremick Envato team says

Hey guys,

I see this all the time and it’s become a bit of a pet peeve for me. When using cufón, you shouldn’t call the plugin for each individual element.

Bad

Cufon.replace('h1');
Cufon.replace('h2');
Cufon.replace('h3');
Cufon.replace('h4');

Just call the plugin once and chain your elements together to be processed in one swoop.

Good

Cufon.replace('h1, h2, h3, h4');

I’ll start asking that authors begin doing it the correct way, although I won’t reject an item solely for this. Upon approval (or along with a soft-rejection), I’ll request that this is also fixed. Thanks!

211 posts Devil Can't Burn
  • Has referred 50+ members
  • Has sold $250,000+ on Envato Market
  • Has been a beta tester for an Envato feature
  • Has collected 10+ items on Envato Market
+8 more
Devilcantburn says

LOL !!!! Simply LOL !!!

however, Cufon has a simple documentation! :D

1950 posts Do the Needful
  • Has sold $125,000+ on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
  • Has been part of the Envato Community for over 4 years
  • Has referred 10+ members
+10 more
JamiGibbs says
LOL !!!! Simply LOL !!! however, Cufon has a simple documentation! :D

They actually don’t have this info easily displayed in their documentation. I just discovered this about a month ago when trying to find a solution to getting :hover to work with Cufon on someone’s blog. You still sometimes have to call the plugin separately for elements that you want hover or color change. Cufon has some strange quirks.

Thanks for point it out for the newer peeps, remick.

385 posts
  • Has referred 10+ members
  • Has sold $125,000+ on Envato Market
  • Has collected 10+ items on Envato Market
  • Elite Author: Sold more than $75,000 on Envato Market
+8 more
uDesignStudios says

Stop using Cufón at all. Start using @font-face ;)

111 posts
  • Has been part of the Envato Community for over 4 years
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Located in United States
Yeowza says

If using jQuery then you can also do this..

Cufon.replace(’:header’)

Will grab all h1, h2, h3 elements etc etc.

Turns out I just wrote a tutorial on this yesterday.. http://www.designsaga.com/jquery/jquery-advanced-selecting/

Let me know if this helps you guys.

2468 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $100+ on Envato Market
  • Has referred 100+ members
  • Has been a beta tester for an Envato feature
+2 more
digitalimpact says
Stop using Cufón at all. Start using @font-face ;)

+1 ;)

815 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Contributed a free file of the month
+3 more
rvision_ says
Stop using Cufón at all. Start using @font-face ;)

Not really. On Win browsers it looks like crap.

2468 posts
  • Has been part of the Envato Community for over 5 years
  • Has sold $100+ on Envato Market
  • Has referred 100+ members
  • Has been a beta tester for an Envato feature
+2 more
digitalimpact says
Stop using Cufón at all. Start using @font-face ;)
Not really. On Win browsers it looks like crap.

Depends on what font you’re using :)

815 posts
  • Has referred 1+ members
  • Has sold $10,000+ on Envato Market
  • Has collected 1+ items on Envato Market
  • Contributed a free file of the month
+3 more
rvision_ says
Stop using Cufón at all. Start using @font-face ;)
Not really. On Win browsers it looks like crap.
Depends on what font you’re using :)

Please point me to one font that looks decently, since I haven’t seen one.

Cleartype issues?

89 posts
  • Has been part of the Envato Community for over 4 years
  • Has collected 1+ items on Envato Market
  • Sells items exclusively on Envato Market
  • Helped several times protecting Envato Market against copyright violations
+1 more
MatthewAllen says
Please point me to one font that looks decently, since I haven’t seen one. Cleartype issues?

Museo Slab looks nice! :)

http://arandomurl.com/2010/07/25/html5-pacman.html

Helpful Information

  • Please read our community guidelines. Self promotion and discussion of piracy is not allowed.
  • Open a support ticket if you would like specific help with your account, deposits or purchases.
  • Item Support by authors is optional and may vary. Please see the Support tab on each item page.

Most of all, enjoy your time here. Thank you for being a valued Envato community member.

Post Reply

Format your entry with some basic HTML. Read the Full Details, or here is a refresher:

<strong></strong> to make things bold
<em></em> to emphasize
<ul><li> or <ol><li> to make lists
<h3> or <h4> to make headings
<pre></pre> for code blocks
<code></code> for a few words of code
<a></a> for links
<img> to paste in an image (it'll need to be hosted somewhere else though)
<blockquote></blockquote> to quote somebody

:grin: :shocked: :cry: Complete List of Smiley Codes

by
by
by
by
by
by