Font is changed on my entire blog?

  • Unknown's avatar

    So I updated each and every one of my post with the html code POST TEXT HERE because I like the font Century Gothic. All of a sudden the entire blog, except for Header & post title, but including the widgets, is showing up in Century Gothic instead of the default theme font. Is this supposed to happen or is it just a fluke? I viewed it on a different computer (also IE 7) and it’s the same. Can everyone else see the same thing or just me?

    Here’s my blog thinkprojectlife.wordpress.com and I’m using the Spring Loaded theme.

    Thanks in advance.

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    When the sidebar font changes, that means you’ve left an unclosed html tag in a post. But I don’t see what you’re describing in your blog. I see the first paragraph of each post in century gothic (is that what you wanted?), the rest (including the sidebar) in the default font of the theme. Perhaps you’re looking at a cached version of your page; if so, log out and clear your browser’s cache.

  • Unknown's avatar

    The entire post is supposed to be in century gothic but using Firefox I see what you saw, that only the first paragraph is. I’ve logged out and cleared my cache (IE 7) but I still have that weird issue. I also made sure to close the html tag with </span> but how come only the first paragraph is changed?

  • Unknown's avatar

    Probably because you applied the coding first, then proceeded to write the rest of the text. When you press return, that code won’t carry over to the next paragraph. The “span” tag is best used for isolated words or phrases within a paragraph. For a large section or a complete post you need the “div” tag. And it’s better to specify font-size in percentages:

    <div style="font-size:140%;font-family:century gothic;color:#330900;">
    COMPLETE_TEXT_HERE
    </div>
  • Unknown's avatar

    PS To make sure you’ll never get the unclosed tag effect, go to Settings>Writing, tick the “WordPress should correct invalidly nested XHTML automatically” option, click Save Changes.

  • Unknown's avatar

    Thank you panaghiotisadam. I changed it to “div” tag and it worked. I did have that “WordPress should correct invalidly nested XHTML automatically” option checked so I don’t know what the sidebar widget issue is. Thanks again.

  • The topic ‘Font is changed on my entire blog?’ is closed to new replies.