WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Font size differs when I add a fifth post!

[Resolved] Font size differs when I add a fifth post!

  • Hey guys,

    I’m having a problem with my fonts. Whenever I add a fifth post the font changes for the old 4 posts (Whole post: Title and info). I have no idea whats wrong! I haven’t changed anything in the “stylesheet.css” file. I’m the Simplism theme. I tried some other themes and the same problem still exists. Please help

    http://www.q8abroad.com

Viewing 9 replies - 1 through 9 (of 9 total)
  • problem only with FF. Everything is fine with IE.

    Adam Brown

    @adamrbrown

    First place to start when you get cross-browser problems:

    validate

    Incorrect markup can have unpredictable results. Fix the code, and the problem will probably go away.

    I just tried that.

    URI : http://www.q8abroad.com/wp-content/themes/simplism/style.css
    39 #sidebar Property bacgkround-image doesn’t exist : url(‘images/sidebar-bg.gif’)
    231 Parse error – Unrecognized };

    Doesn’t seem like i have a problem.

    Adam Brown

    @adamrbrown

    Sounds like you’re talking about validating the CSS. You also need to validate the HTML. Click the link I gave, you’ll find it shows 22 errors.

    Incidentally, what you’re pasting says you do have a problem in the CSS, although it’s the HTML errors that are probably causing you difficulty.

    Yeah. Im trying to fix them. But I dont see how these problems could effect the font. most problems are caused by the embed codes i copied from youtube and metacafe.

    Im stuck man. I dont know what else to correct. Is the post the only place to correct the html codes?

    Adam Brown

    @adamrbrown

    Ignore the errors caused by the <embed> tag for now (roughly the first 7 errors). You’ve got some unclosed tags, and that’s probably the source of your problem. For example, this:

    Line 59, Column 275: end tag for "font" omitted, but OMITTAG NO was specified .

    refers to this in your HTML:

    <p align="center"><embed...></embed><br/><font size="1"></p>

    That unclosed <font> tag causes several more validation errors.

    Also, always use <br />, not <br>.

    Fix those, and keep looking for unclosed tags–they’re probably the problem.

    Adam Brown

    @adamrbrown

    Im stuck man. I dont know what else to correct. Is the post the only place to correct the html codes?

    No, html could also be screwy in your theme. Some theme authors don’t validate before releasing their stuff.

    Wow. That problem was cause all because of the
    <p align=”center”><embed…></embed><br/><font size=”1″></p>
    And now its solved. Thanks buddy!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Resolved] Font size differs when I add a fifth post!’ is closed to new replies.
Skip to toolbar