Skip to content

Linear gradient on background image breaks at the bottom when scrolling #166

@RobertDB59

Description

@RobertDB59

When I apply a linear gradient to a background image, it looks fine when the page loads.
As soon as I scroll, about 102 pixels of the gradient disappears at the bottom of the image and does not return.
The image is 700px high and jumps up the same number of px as soon as you scroll.
I use following code:

<section class=‘hero-wrap’ style=‘background-image: linear-gradient(to right,rgba(0,0,0,0.9),rgba(0,0,0,0), transparent), url(’images/bg-1.jpg‘);’ data-stellar-background-ratio=‘0.5’>

When the data-stellar-background-ratio=1, the gradient does remain intact.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions