[Resolved] Fixed background images in sections

Home Forums Support Fixed background images in sections

  • 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
  • #996131
    d

    Hello,

    What’s the best way to fix a different full-width background image in each section so the text in each of those sections will “scroll past” its unique background? If sections are the wrong starting point to get this effect, please point me in the right direction.

    Thanks

    #996418
    David
    Staff
    Customer Support

    Hi there,

    you can enable the Parallax option in the Sections > Settings to create that effect.
    If you want to use just a fixed background then give the Section a CSS Class of fixed-bg

    Then you can add this CSS:

    .fixed-bg {
        background-repeat: no-repeat;
        background-attachment: fixed;
    }
    #997046
    d

    Thanks David!

    That works. Don’t know why I remembered it being a code-free option.

    #997047
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.