WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Font size differs when I add a fifth post! (10 posts)

  1. Midoe
    Member
    Posted 6 years ago #

    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

  2. Midoe
    Member
    Posted 6 years ago #

    problem only with FF. Everything is fine with IE.

  3. Adam Brown
    Member
    Posted 6 years ago #

    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.

  4. Midoe
    Member
    Posted 6 years ago #

    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.

  5. Adam Brown
    Member
    Posted 6 years ago #

    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.

  6. Midoe
    Member
    Posted 6 years ago #

    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.

  7. Midoe
    Member
    Posted 6 years ago #

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

  8. Adam Brown
    Member
    Posted 6 years ago #

    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.

  9. Adam Brown
    Member
    Posted 6 years ago #

    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.

  10. Midoe
    Member
    Posted 6 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic