[Resolved] Header image, width

Home Forums Support [Resolved] Header image, width

Home Forums Support Header image, width

Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #139332
    Uwe Pfeifer

    Hi. I’m trying to get a header image displayed so it resizes to the endusers screen. if i select 100% widtht hough, it makes a white area below the background picture, before the menu. if i set to auto the logo on the right is not displayed to people but instead the image is cut off.

    how can i make the picture resize but not produce this white area between menu and header?

    thank you, freaky.

    #139433
    Tom
    Lead Developer
    Lead Developer

    Are you using a background image to display the logo etc..? If so, that’s not really the recommended usage of background images.

    Background images are typically used for patterns or images that can be cut off a bit without hurting the design.

    For displaying logos, it’s much better to display them as static images over top of the background image. That way, they will always display no matter what.

    Let me know if you need more info πŸ™‚

    #139478
    Uwe Pfeifer

    I’m trying to get someone to make a logo. I’ve done it the way you suggest now. http://www.gw2-togo.de
    The problem is, we cant make a good logo lol I hope it will look well. The logo isn’t put up yet. It’s still in the making.

    Thank you for your help :).

    #139507
    Uwe Pfeifer

    ok is t here a possibility to put the logo to the left on the header? because i dont want a huge special area for just the logo like what happens when i set something as site logo.

    #139517
    Tom
    Lead Developer
    Lead Developer
    #139520
    Uwe Pfeifer

    It didn’t help. I added this to CSS:

    /* Logo next to site title */
    .site-branding {
    display: inline-block;
    }

    .site-logo {
    float: left;
    margin-right: 20px;
    }

    The result is this: http://imgur.com/3rUVJOe – so like before.

    #139559
    Tom
    Lead Developer
    Lead Developer

    That logo looks pretty huge – what happens when you size it down considerably?

    #139624
    Uwe Pfeifer

    it looks like this now: http://imgur.com/PHENv1c

    #139710
    Tom
    Lead Developer
    Lead Developer

    Getting there.

    How about a little smaller?

    Then I would set your header background image size to “Cover” (in the Customizer).

    Then you can push your site title/tagline down a bit with this CSS:

    .site-branding {
          margin-top: 20px;
    }

    Adjust the pixels as necessary.

    #139727
    Uwe Pfeifer

    i wont add a logo. i dont like the background getting that high/big.

    thank you for your help πŸ™‚

    #139729
    Tom
    Lead Developer
    Lead Developer

    No problem πŸ™‚

Viewing 11 posts - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.