WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Font Size Different On Post Pages and Home Page (3 posts)

  1. apoorvkhatreja
    Member
    Posted 6 years ago #

    Before any of you ask for a link, my problem is related to my WP blog at RutSum.

    I edited my single.php yesterday, and rearranged the elements on the post pages. Because of this, one thing that I messed up was the font size of the sidebar on the post pages. The font size in the sidebar is very small as compared to what it should be, on the post pages. On the home page and other pages, it's fine.

    This happened after I made the following changes in my single.php =

    The order of contents was -
    1) the_content
    2) post metadata
    3) comment form

    I changed it to -
    1) the_content
    2) comment form
    3) post metadata

    Because of doing this, the comment form got misaligned, and I figured out, correctly, that this was because the comment form was now inside the <div class="content">, thereby nesting 2 divs and breaking the continuity.

    To fix this, I closed the <div class="content"> just before the comment form and reopened it after the comment form, so that the metadata would again be realigned with the rest of the content.

    This worked out pretty good, and everything was neatly aligned now, except for the font problem. Any ideas as to what broke it?

  2. Len
    Member
    Posted 6 years ago #

    I know I'm using a crappy monitor for the time being but I see no difference.

    You do have some validation problems though which may or may not be part of the problem.

  3. apoorvkhatreja
    Member
    Posted 6 years ago #

    ^ That's because the problem is fixed now. I went to the #wordpress IRC channel, where somebody suggested that I recheck each and every tag in that area. Turns out it was an unclosed <small> tag :D .

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags