WordPress.org

Support

Support » Themes and Templates » [Resolved] Twenty Thirteen: Remove space above head-image

[Resolved] Twenty Thirteen: Remove space above head-image

  • Hello,

    how can I remove the space (margin?) above the head image?
    i’m using a Twenty Thirteen child-theme. I can change the color but not reduce it to zero!
    I tried without success:

    body {
    background: #fff;
    padding: 0 0;
    margin: 0 auto;
    }

    body .site {
    margin:0 0;
    max-width: 100%;
    }

    you may have a look at the site (see white border on top, it does not belong to the image-file!):
    my page

    Thanks for any hints!
    PhiloFox

Viewing 6 replies - 1 through 6 (of 6 total)
  • WPyogi

    @wpyogi

    Forum Moderator

    I don’t see hardly any space above the cat – have you cleared your browser cache.

    It’s just a 5-7px thin boarder at the tob above the head image. Since I turned the background color to white you can only see it above the blue lines that are supposed to touch the browser frame as if the continued behind it.

    If I put the site margin-top to “-7px” it disappears but then the elements don’t fit the link-arrays for the mouse cursor any more.

    WPyogi

    @wpyogi

    Forum Moderator

    Have you checked while you are logged out? Right now, the cat’s tail is cut off (ouch :)!) What browser are you using?

    There’s also this?

    body {
        margin-top: -28px;
        padding-bottom: 28px;
    }

    Maybe try deactivating your plugins to see if any are doing funny things?

    Oh, thanks for that hint! The “-28px” indicated that it had to do with the admin-bar while I’m logged on. I had switched it to the bottom to see better with that strange result and that I couldn’t log out (because it only opens downwards).

    Now it looks pretty good, still there is a tiny white line which is not part of the header jpg but I can lve with that.

    BUT I never see the cat’s tail cut off!? Eventhough I’m logged out.

    Want to have a look again? –> page
    Otherwise I’d close the topic.

    WPyogi

    @wpyogi

    Forum Moderator

    Looks good now 🙂 That -28px was cutting the tail off.

    Great! I close the thing here.
    Cheers,
    PhiloFox

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] Twenty Thirteen: Remove space above head-image’ is closed to new replies.
Skip to toolbar