Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #715680

    Hi everyone, how can i make a background picture (in a color-section) fixed on mobile version?
    For desktop version it is obvious, just select fixed on ‘section background’.

    I tried the following code:
    .avia_mobile .avia-full-stretch {
    background-attachment: fixed !important;}

    I also tried with position: fixed
    But it didn’t work neither.

    Can you help me please?

    #716659

    Hey leoadmin,

    Thank you for using Enfold.

    Most mobile devices do not support the “background-attachment: fixed” property due to performance issues.

    Fixed-backgrounds have huge repaint cost and decimate scrolling performance, which is, I believe, why it was disabled. – @PaulIrish:

    There’s a workaround but I’m not sure if it is going to work.

    // http://stackoverflow.com/questions/16009035/fixed-position-background-on-ios

    Best regards,
    Ismael

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.