WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Page "jumps" upon menu link (4 posts)

  1. talysshade
    Member
    Posted 2 years ago #

    Hey all,

    I'm having a small problem with a wordpress template I'm making for my work. You can see it at "http://www.annewesterhof.nl It's in Dutch, but that's pretty irrelevant.

    The thing is, when I look at the index, it looks pretty good. But when I click a menu link to one of the pages such as "wie zijn wij" or "nieuws" the whole thing sort of "jumps down" leaving a big white area at the top. It's not a huge problem, but I don't like it. I'm not sure if I should post my entire css here, but if anyone could point me in the direction of where I should look I could post relevant code.

    Also, when making a search the problem doesn't occur, and when clicking on a search result to go to single.php there's no problem either. It's only when I click a menu item to a page.. Perhaps anyone is familiar with this problem?

  2. keesiemeijer
    moderator
    Posted 2 years ago #

    Remove margin-top: 25px; from your theme's stylesheet style.css:

    .page {
        margin-left: 20px;
        margin-right: 20px;
        margin-top: 25px;
    }
  3. talysshade
    Member
    Posted 2 years ago #

    Can't believe I started myself blind on that. Thanks and this one can be closed!

  4. keesiemeijer
    moderator
    Posted 2 years ago #

    If you're using Firefox you can use the Firebug addon to quickly see what css is used when you inspect an element on the page. I'm glad you got it resolved. You can make this topic resolved from the dropdown menu on the right hand side of this page.

Topic Closed

This topic has been closed to new replies.

About this Topic