Support » Theme: Twenty Thirteen » Header picture doesnt scale

  • Resolved sandert98

    (@sandert98)


    Hello,

    I use the theme twenty thirteen, and I have a problem.. When I upload a picture for the banner, it doesn’t scale. When i go to the website on a full hd screen the banner is correctly, but when i’m on a low res (1366 x 768) screen, only the half of the banner is on the screen.. I tried several resolutions, but that wasn’t the solution… How can I put on a scale modus or something like that? Sorry for my bad Englisch…
    Site

    Sander

Viewing 2 replies - 1 through 2 (of 2 total)
  • Try adding this to the end of your child theme’s style.css file:

    .site-header {
        background-size: cover;
    }

    However, there is a known problem with the Twenty Thirteen (and other themes) which use a background-image property for the header instead of an actual img tag. The banner image gets cropped on either side, so if displaying a full banner image is important to you, then you can look at this post for a solution.

    Thank you very much 😀 It worked 😀 !!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Header picture doesnt scale’ is closed to new replies.