Misty
Misty

Reputation: 311

Cufon Font Replacement Problem in Wordpress

I just installed cufon on my wordpress but it is spacing out all my paragraphs.. like this..

does anyone know how i can fix that?

http://singlecutbeer.com/2011/07/hello-world-2/

that space between each paragraph was not there before the font-replacement.

Upvotes: 0

Views: 349

Answers (2)

Mild Fuzz
Mild Fuzz

Reputation: 30771

Building on moffepoffe's answer, use the font-face generator at font squirrel. Be sure to check your licenses, but technically a great solution.

Upvotes: 0

moffepoffe
moffepoffe

Reputation: 372

Cufon can be very hard to style, the easiest way to do it is to choose the "complete" option when you generate the font. I would recommend using:

@font-face {
    font-family: font;
    src: url('font.ttf');
}

and cufon as a fallback for IE7-8

All the best, Marten

Upvotes: 1

Related Questions