Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only first letter of each child of selector replaced #50

Closed
alxklo opened this issue Aug 5, 2009 · 3 comments
Closed

Only first letter of each child of selector replaced #50

alxklo opened this issue Aug 5, 2009 · 3 comments
Labels

Comments

@alxklo
Copy link

alxklo commented Aug 5, 2009

I'm using the following line to replace text in my navigation:
Cufon.replace('.navigation a');

The markup for the navigation is:

< ul class="navigation">
< li class="secondary location">< a href="explore/location/">By Interview Location< /a>< /li>
< /ul>

(spaces after < added to prevent html rendering in this post)
I include jQuery(1.3.1) before cufon-yui (latest version).

Only the first letter of each word is being replaced, i.e. "By Interview Location" is rendered as "B I L"

Any advice greatly appreciated.

Alex

@sorccu
Copy link
Owner

sorccu commented Aug 5, 2009

Hi Alex,

Could it be that you only included lowercase letters when you generated the font? Or maybe the font doesn't even have lowercase letters?

Simo

@alxklo
Copy link
Author

alxklo commented Aug 5, 2009

/facepalm
Thanks for pointing out the obvious, Simo; problem solved.

@sorccu
Copy link
Owner

sorccu commented Aug 5, 2009

Great :)

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants