WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Twenty Thirteen: Remove space above head-image (7 posts)

  1. PhiloFox
    Member
    Posted 6 months ago #

    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

  2. WPyogi
    Volunteer Moderator
    Posted 6 months ago #

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

  3. PhiloFox
    Member
    Posted 6 months ago #

    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.

  4. WPyogi
    Volunteer Moderator
    Posted 6 months ago #

    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?

  5. PhiloFox
    Member
    Posted 6 months ago #

    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.

  6. WPyogi
    Volunteer Moderator
    Posted 6 months ago #

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

  7. PhiloFox
    Member
    Posted 6 months ago #

    Great! I close the thing here.
    Cheers,
    PhiloFox

Reply

You must log in to post.

About this Topic