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 –
2) post metadata
3) comment form
I changed it to –
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?
- The topic ‘Font Size Different On Post Pages and Home Page’ is closed to new replies.