Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1377434

    Hello and a happy new year to everyone,

    unfortunately i’m having some serious problems with scrolling on mobile devices. Im using a boxed layout with a background-image. When scrolling on a browser of a mobile device (testet on real devices with android and ios, best seen when scrolling faster up and down) the page shows a gap where only the background is seen, a few milliseconds up to a second later the page content pops in. That causes a strange flickering on the page. I tried to change a few settings in performance and for the background-image but that did not help at all.

    Any help would be appreciated, i’m looking forward for your help.

    Regards,
    DogUniHalle

    URL of the Page: https://dogunihalle.de/ (login-data with admin-access in private area)

    #1377458

    Hey dogunihalle,
    Thank you for the link to your site, I see that you have a boxed layout with a background-image, but the background image is for the body background in a custom div “bg_container”, I assume that you have added this in the child theme functions.php, but I can not see it so I’m not sure.
    But smaller than 989px the background image will not show, so on my Android mobile device I don’t see the background image even if I scroll quickly.
    Perhaps you mean that when the page loads for a millisecond you see a green color before the content shows, but this is “flicker” hard to see on my device, perhaps your network is mobile slower? If this is true then you need to add a media query to your custom code for the background image. Since I can’t see your custom code I guess that you could try something like this:

    @media only screen and (min-width: 990px) { 
    .bg_container {
    -ms-filter:"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/wp-content/uploads/background.svg', sizingMethod='scale')";
    filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/wp-content/uploads/background.svg', sizingMethod='scale');
    }
    }

    so the background image only shows above 990px, if this doesn’t help please enable the theme editor so we can see your child theme files and how you are adding the background image to advise.

    Best regards,
    Mike

    #1377514

    Hello Mike,

    i appreciate your quick answer, thank you very much. I made you a video to show you the effect (what i meant by flickering). You can watch it here: https://dogunihalle.de/IMG_8158.MOV (20MB, Apple Movie File)

    I made the video with my iPhone 12 Max with the Website running on an iPad 9th Generation (pretty fast, revision from last year). I have the same trouble on my iPhone and users with android phones reported that also.

    The files of the child-theme are pretty much empty. There is no css, also there is no css in the quick-css area that relates to the background-image. I activated theme files editing anyways, so you can have a look. The setting in “Layout” (child theme name) => common styling => background of the body are the only settings. Could this be something special with svg, also with the bg_container, you mentioned? I thought it might be a good idea, to use svg here, so the gradients are beautiful on each device?

    Thank you in advance for your reply.

    Regards,
    DogUniHalle

    #1377520

    Hi,
    Thanks for the video, I’m not able to recreate this with Windows or Android, this looks strange. Unfortunately I don’t have a iPad or iPhone so I will ask the rest of the team for someone with an iPad or iPhone to check this. Thank you for your patience

    Best regards,
    Mike

    #1377562

    Hi Mike,

    thanks for the reply. I’ve changed the image to jpg and for the moment it seems, that the problem is solved with this. I will check this out in more detail and return to you in this thread, please don’t close it for now. Shouldn’t take to long, just to let you know, that i’m working on it and you guys don’t have to check it on your side for the moment.

    Thanks so far!

    Regards,
    DogUniHalle

    #1377579

    Hi,
    Ok, I have canceled the request for a team member to check since the error doesn’t show anymore.

    Best regards,
    Mike

    #1377782

    Hi Mike,

    i have verified that some mobile devices (especially iOS Browsers) have serious issues with svg which caused that failure. After using a jpg everything is fine.

    Thank you very much for your time and effort. The ticket can now be closed.

    Regards,
    DogUniHalle

    #1377840

    Hi,
    Glad to hear that you have this sorted out, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Serious scrolling problems on mobile devices with boxed layout and bg-image’ is closed to new replies.