WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Style for Pages isn't exactly right (4 posts)

  1. shawnogordo
    Member
    Posted 7 years ago #

    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.

  2. maelgwn
    Member
    Posted 7 years ago #

    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.

  3. Andi Saleh
    Member
    Posted 7 years ago #

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

  4. shawnogordo
    Member
    Posted 7 years ago #

    That fixed it. Thanks for your help!

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags