Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #295041

    Hi, my website has a fixed background image set for the main content area which works great on desktop but when I scroll down the page on a tablet or mobile device it only loads after the scroll so is catching up to render.
    How can I have it just like the desktop?

    #295573

    Hey GOWD!

    I just checked your website on my iPhone 4 and it did load the background while i was scrolling down. You can try using this plugin – https://wordpress.org/plugins/bwp-minify/

    Best regards,
    Yigit

    #295898

    Hi Yigit, I already have that plugin activated and caching plugin etc.
    The background is loading but the problem is that as you scroll the white background appears first and then the background image loads on top block by block which completely distracts the visitor and this keeps happening as you move down the page.
    On the desktop there is no such problem, the background image loads immediately and stays fixed as the content scrolls over it.

    #295899

    It is happening on my Samsung Galaxy 3 Tab 10inch and Samsung Galaxy S2 phone

    #295916

    Hi!

    It could be related with how fast your internet connect is as well. But i am having no issues seeing the background image while scrolling down. I asked @josue to check your website on his Android device. Let us wait to hear from him

    Best regards,
    Yigit

    #295967

    Hi Yigit, tested my connection and am on 50Mb +
    The problem seems to be caused by the background scrolling on Mobile devices rather than remaining fixed.
    On a desktop the background is remaining fixed with the content scrolling above it but on a mobile the background it is attempting to scroll with the content

    #296546

    Hi!

    I couldn’t note the issue on my Nexus 7, can you post a screenshot of your view?

    Regards,
    Josue

    #296806

    Hi Josue,
    not possible to screenshot as it happens while scrolling and if I stop and take a screenshot the background will have finished rendering before the screenshot is taken.
    Happens on Samsung Galaxy Tab 3 10inch and Samsung Galaxy s3 phone

    #296939

    Hey!

    The background scrolling with the content is expected (parallax and fixed background are disabled on mobile). I could see those white backgrounds parts but only the first time i loaded it.

    Regards,
    Josue

    #297264

    Why is the fixed background disabled on mobile?
    How can I get it to be fixed, not scrolling?
    If that’s not possible how can I get it not to display on mobile but keep on desktop for header, body and footer?
    Thanks

    #297338

    Hi!

    It was disabled due to compatibility issues, to change it on mobile, try adding this code to the Quick CSS:

    @media only screen and (max-width: 767px) {
    .main_color {
        background-image: none;
    }
    }

    Cheers!
    Josue

    #297386

    Hi Josue,

    that has removed the background image from mobile devices.

    I just started playing around and found that if I changed the background setting to scroll instead of fixed it solves the lag problem on mobiles.
    I would still like it to be fixed on Desktop.
    Is there a media query that can make this happen, background scroll on mobile, fixed on Desktop?

    #297400

    Hey!

    Try adding this:

    @media only screen and (min-width: 767px) {
    .main_color {
        background-attachment: fixed;
    }
    }

    Regards,
    Josue

    #297645

    Hi Josue, that’s it, everything fixed, thank you for your help, you may close this thread.

Viewing 14 posts - 1 through 14 (of 14 total)
  • The topic ‘Background Image loading late issue when scrolling on mobile devices’ is closed to new replies.