Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #229128
    Bart P
    Participant

    On the site http://m-eat.nl/ I use a custom background on each page.
    The background image is set to fixed, but on an iPhone this is not working.

    The ‘Custom CSS settings’ on the ‘Page Settings’ I use:

    body {background: url(“http://m-eat.nl/wp-content/uploads/2015/02/red-chili.jpg”);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    }

    Is there a trick to resolve the fixed problem on an iPhone?

    #229235
    Nico
    Moderator

    Hi There,

    Thanks for writing in.

    We’ve tried to test it on our Iphones, Ipad, landscape and portrait. Everything works fine. Try to clear cache on your site and on your browser used in Iphone or Ipad.

    Let us know if you already figured it out.

    Cheers!

    #229989
    Bart P
    Participant

    Nope, no succes on this side. 🙁

    #230014
    Christopher
    Moderator

    Hi there,

    I’m another member of support staff and I couldn’t replicate the issue, background is fixed. Did you clear cache on your phone?

    Thanks.

    #230873
    Bart P
    Participant

    Yes, i did clear the cache on the iPhone and iPad.
    I’m using Safari that’s built in on the iPhone and iPad.
    Using iOS 8.2

    Screenshot of my iPad: http://m-eat.nl/wp-content/uploads/2015/03/IMG_0220.jpg

    The end of de background image is at de tip of the red arrow.
    Proof that the background isn’t fixed.

    #231085
    Zeshan
    Member

    Hi Bart,

    Fixed backgrounds are disabled for most of the mobile browsers including iOS Safari (http://stackoverflow.com/questions/23236158/how-to-replicate-background-attachment-fixed-on-ios). For an alternate solution you can use background images option under Page Settings > Background Image(s) (see: http://prntscr.com/6ipm3i).

    Thank you.

    #233235
    Bart P
    Participant

    Check.

    That’s working just fine.

    Thanks.

    #233314
    Christian
    Moderator

    You’re welcome Bart. Glad we could help.

  • <script> jQuery(function($){ $("#no-reply-229128 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>