Background Image Jumps On Mobile

Posted in: Newsmag
Post count: 36

Hi there,

RE. https://www.syrupbee.com/

When viewing my website from my Android Motorola Phone that uses the Google Chrome app, the colourful background image jumps when scrolling down from the top of the page. Once it jumps (a white box appears at the bottom of the screen then it resizes the photo) it then works as it should and stays fixed & static as you scroll down.

Is there any way to stop it from jumping at all?

Chris

Post count: 36

PS. this does not occur when I view my website from my laptop screen in any width below 767px…this only happens when using my actual mobile phone.

Post count: 36

BUMP

Post count: 23312

Hello Mercuriel,

The bump has the opposite effect on our forum. You only delay the answer, sorry! I have checked again your website on Samsung Note 8 with the latest version of Android and everything seems to work as expected, without any problems. Most likely, the problem happens only on your phone. Try to check it to another phone and see the results.

Thanks for your understanding!

Post count: 36

Thank you that’s great! 🙂

Post count: 36

I checked it on my iPhone (other phone) and it had the same problem. What happens is that if you scroll right to the top of the screen and then scroll down the background image resizes for a second showing a momentary white horizontal patch on the bottom of the background image.

Post count: 36

https://stackoverflow.com/questions/32417663/white-area-on-fixed-background-when-scrolling-on-ios?answertab=active#tab-top

I tried adding ‘transform: translate3d(0,0,0)’ to .backstretch in the custom CSS but that did not help either.

Post count: 36

Hi again, apologies for all the messages but just letting you know that, for the time being, I have disabled .backstretch on my mobile website and replaced it with the following code:


@media
screen and (max-width: 767px) {
.td-lifestyle {
background-size: auto;
background-attachment: scroll;
background-repeat: repeat;
background-image: url(https://www.syrupbee.com/wp-content/uploads/2018/01/Background-light-grey-e1517274658925.jpg);
background-position: center center;
}
}

This may be an adequate compromise, though it would still be nice finding a way to fix this initial scroll error so I can go back to using my original image that displays on the desktop version of my website.

Thanks,
Chris

Post count: 23312

Hi,

Please provide a useful screenshot of the problem so I can identify it because I cannot recreate it.

Thanks.

Post count: 36

Hi there,

As you can see, the little horizontal white box that appears on initial scroll and then, once my thumb leaves the screen, the background image resizes

https://drive.google.com/file/d/0B_swqA44iTqqRk5pcEJaNkh2djZ4NUFGdWVnVTFMN1FnX3pV/view?usp=sharing

Thanks

Post count: 23312

Hello Mercuriel,

Unfortunately, I have checked your website on mobile devices and I did not saw any problems with the images, sorry! Please check the demo preview to your phone and check if this behavior happens.

Thanks for the message!

Viewing 11 posts - 1 through 11 (of 11 total)
The forum ‘Newsmag’ is closed to new topics and replies.