Anybody have an idea on how to get Cufon to work for the caption in the slider?

http://cufon.shoqolate.com/generate/
http://drupal.org/project/cufon

Comments

IrishGringo’s picture

did you ever get this answered?

Anonymous’s picture

hi. I am not to sure how the nivo slider works. The last time i tried that module it only took images. That was a while ago though. If you use views_slideshow this is possible.

When you create your view, add the title field ( Node title , or whatever if you maybe have create a custom setup ) then rewrite the output in the field option and place the title token between a custom id

[title]

You technically can leave that step out and just do a css decend to the title but i find that a bit cumbersome, so now you add "#slide_title" to the list in the cufon setting and select your font from the drop down.

If nivo slider can be added to a view then this should work just aswell. If not you just need to find the text element that holds that title and add that to the cufon settings

ChristianP’s picture

Hm, it's weird. I tried add a cufon font to my slideshow but as soon as I do that, the "h3" disappears. Don't know why this is occuring. It works on Views Slideshow, so why not this one?

pontus_nilsson’s picture

You could also make a font-face alternative of your font. This way you don't need Cufon at all. Font face generator