WordPress.org

Support

Support » Themes and Templates » [Resolved] Style for Pages isn’t exactly right

[Resolved] Style for Pages isn’t exactly right

  • I’m currently editing my most recent WordPress installation. I’ve noticed that the top of the banner on my Pages (not posts) is about 10px lower than my non-Page pages. (Hope that made sense!) For example, here’s my homepage. And here’s my About page. You can see the top of the banner jumps down just a bit when clicking from the homepage to the About page. I’m sure there’s a bit of CSS that needs to be tweaked in order to fix this. I just can’t seem to find it! Anyone have any suggestions? Here’s a link to the CSS, if that helps.

Viewing 3 replies - 1 through 3 (of 3 total)
  • It looks like you have another line in your page.php compared to your post.php. I suggest commenting out a line in page.php the says something like <div id”pagetop”/> and see if it fixes it.

    Yes, there’s an extra div right after the <body> tag in your Page template.
    <div id="pagetop">&nbsp;</div>

    That fixed it. Thanks for your help!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Style for Pages isn’t exactly right’ is closed to new replies.
Skip to toolbar