• I’m currently using a Google webfont using the @import CSS technique, and setting the font-family on the body tag. It works fine mostly, but I’m still seeing the default font in posts. Is there a way to target this more specifically?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Link to site?

    Thread Starter CapFlint

    (@capflint)

    Thread Starter CapFlint

    (@capflint)

    I’ve figured out that it’s an inline style that’s overriding less specific styling, but I don’t know where to find the code in question.

    You’re right, the code generated is:

    <section class="entry-content ">
    <p>
    <p>
    <span style="font-family: American Typewriter,serif;">This month marked the completion of post-production for the indie Bollywood feature, </span>
    <span style="font-family: American Typewriter,serif;">
    <span style="font-family: American Typewriter,serif;">. Directed by Raj Singh Verma on location in Toronto and Mumbai, this zany comedy features Michelle as Alka, a Canadian whose less-than-perfect Hindi leads to comical misuderstandings with her Indian husband.</span>
    </p>
    <p> </p>
    </section>

    It’s on post-88. Anything you might have coded there? Any plugins?

    Thread Starter CapFlint

    (@capflint)

    No font plugins anymore. I’m thinking this is a remnant of a plugin which I tried and have since disabled and deleted.

    I’m just going to edit each post individually and delete the code. Frankly, I should have thought of that earlier. With the plugin gone, I’m assuming that new posts will not have this problem.

    Thanks for all your help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Font in posts’ is closed to new replies.