• I have been searching in the forums for a solution to the mobile header resizing issue. The coding I found here did resolve the issue on my mobile phone (iPhone) but when I am using a tablet in the vertical position, I am still getting the header cropped left and right. I would appreciate any suggestions. Here is the code I have already added to the additional CSS:
    .custom-header,
    .has-header-image.twentyseventeen-front-page .custom-header {
    height: 870px;
    }

    @media only screen and (max-width:768px) {
    .custom-header,
    .has-header-image.twentyseventeen-front-page .custom-header {
    height: 400px;
    }
    }

    @media only screen and (max-width:480px) {
    .custom-header,
    .has-header-image.twentyseventeen-front-page .custom-header {
    height: 200px;
    }
    }
    @media screen and (max-width: 450px) {

    .has-header-image .custom-header-media img,
    .has-header-video .custom-header-media video,
    .has-header-video .custom-header-media iframe,
    .has-header-image:not(.twentyseventeen-front-page):not(.home) .custom-header-media img {
    height: auto;
    left: 0;
    max-width: 100%;
    min-height: 0;
    -o-object-fit: unset;
    object-fit: unset;
    position: relative;
    -ms-transform: none;
    -moz-transform: none;
    -webkit-transform: none;
    transform: none;
    }
    }
    .custom-header {
    height: 870px;
    }

    @media only screen and (max-width:768px) {
    .custom-header {
    height: 400px;
    }
    }

    @media only screen and (max-width:480px) {
    .custom-header {
    height: 200px;
    }
    }

    The page I need help with: [log in to see the link]

Viewing 2 replies - 16 through 17 (of 17 total)
  • Thread Starter kdeppe

    (@kdeppe)

    Andrew,
    I looked through the code and I am not seeing this at all on my end. And, in fact, now I have a new problem. When I am viewing this on Desktop (Safari 11.0.3) I now see a crazy menu with oversize icons. No idea where those came from. I have deleted and replaced each section of code that I added but the only way this will go away is if I delete ALL the additional css code. And then I am back where I started. I truly appreciate your help, but I don’t know where to go from here. Thanks, Kim

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Your page is different to what it was the other day, because the CSS is now coming from this URL:
    https://hb-minify-juc1ugur1qwqqqo4.stackpathdns.com/psychicmediumjon.com/4bfe7dad-187e-444c-aef8-ab07ce77875f.css

    It seems like there a lot of custom setup on your site that I’m at the point where I don’t know what’s going.

    If you’re still experiencing the problem, can you deactivate all of your plugins so that your theme is more predictable to me?

Viewing 2 replies - 16 through 17 (of 17 total)
  • The topic ‘Mobile Header Cropping on Tablet When It is Vertical’ is closed to new replies.