Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #27367
    Nancy Giovannini
    Guest

    The header image of the website does not display on mobile devices. At least not the latest version of iOS. It’s just showing a blue color. I’ve checked on multiple phones. If I’m working on the site on my desktop computer, and I go to Customize, and I look at the various layout the image shows. But in real life, it’s not working. Help!

    #27390
    Jesse Owens
    Keymaster

    Hi Nancy-

    Thanks for the question, and thanks for using the BoldGrid WordPress Website Builder. This issue is caused by how iOS devices interpret the “Cover” background image size attribute. Here’s what I see when I check out your site on an iOS and Android device:
    Background image on iOS and Android

    My iPhone is a pretty large one, so if you were checking on a smaller model you may only see the blue sky that’s at the top-left of your image.

    If you’d like the focus section of the image to be more prominent, you can add a little bit of Custom CSS to accomplish that. Navigate to Customize > Advanced > Custom JS & CSS and paste the following code into your Custom Theme CSS field:

    @media (max-width: 991px) {
        body.custom-background {
            background-size: auto !important;
            max-height: 100vh;
            background-position: center top !important;
        }
    }

    This will center the image and scale it a little better on iPhones, so that you get a look like this:
    Centered background on mobile

Viewing 2 posts - 1 through 2 (of 2 total)
  • The topic ‘Header image not displaying on mobile’ is closed to new replies.