CodeCanyon

Cufon Text Shadow Help

167 posts
  • Bought between 100 and 499 items
  • Has been a member for 3-4 years
  • United States
ace2296 says

Can anyone sign on skype and walk me through adding a text shadow on one of my cufon fonts?

my user is ace2296

1571 posts
  • Beta Tester
  • Bought between 50 and 99 items
  • Canada
  • Exclusive Author
  • Has been a member for 4-5 years
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Sold between 5 000 and 10 000 dollars
mafloral says

Hey

Here is an example:

Cufon.replace('.h1, .h2, or anyother element here', { fontFamily: 'Kozuka Gothic Pro OpenType', textShadow:'rgba(0, 0, 0, .10) 1px 1px',hover:true });

You can add this to each element that you are replacing the font on.

Cheers

Lester

167 posts
  • Bought between 100 and 499 items
  • Has been a member for 3-4 years
  • United States
ace2296 says
mafloral said
Hey

Here is an example:

Cufon.replace('.h1, .h2, or anyother element here', { fontFamily: 'Kozuka Gothic Pro OpenType', textShadow:'rgba(0, 0, 0, .10) 1px 1px',hover:true });

You can add this to each element that you are replacing the font on.

Cheers

Lester

Awesome but I’m new to javascript. Where do I paste that and i there another file involved to do so?

167 posts
  • Bought between 100 and 499 items
  • Has been a member for 3-4 years
  • United States
ace2296 says
mafloral said
Hey

Here is an example:

Cufon.replace('.h1, .h2, or anyother element here', { fontFamily: 'Kozuka Gothic Pro OpenType', textShadow:'rgba(0, 0, 0, .10) 1px 1px',hover:true });

You can add this to each element that you are replacing the font on.

Cheers

Lester

nvm I figured it out thanks a lot! :)

by
by
by
by
by