[Resolved] Static background on mobile

Home Forums Support [Resolved] Static background on mobile

Home Forums Support Static background on mobile

  • This topic has 3 replies, 2 voices, and was last updated 1 year ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1488081
    Daniel

    Hi, I’m using a cover, fixed backgrounds for desktop but on mobile they’re just indistinguishable as they’re zoomed in too much and quite glitchy on scroll when fixed.
    What class do I need to use to make them appear static and contained on mobile?

    I’ve tried the body tag but that didn’t work. I’m sending the website below.

    #1488304
    David
    Staff
    Customer Support

    Hi there,

    if you disable the header elements parallax and add this CSS:

    @media(min-width: 769px) {
        .page-hero {
            background-attachment: fixed;
        }
    }

    It will fix the background only desktop devices.

    #1488378
    Daniel

    Thank you, so parallax on header needs to be disabled otherwise this won’t work?

    #1488402
    David
    Staff
    Customer Support

    Thats correct – its either Parallax or a Fixed Background.

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