Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rellax does not apply Parallax Effect to Element (No 3D Translate) #219

Open
Lukaskrojer opened this issue Nov 23, 2020 · 2 comments
Open

Comments

@Lukaskrojer
Copy link

Lukaskrojer commented Nov 23, 2020

Hey,
so i am trying to apply a parallax Effect to a element. I implemented all i need to the project but it does not work.
It does recognize the implemented Javascript, but it does not apply the translate 3D effect to the Element. (It always stays at 0px)
I have to edit, that its a horizontal Scrolling page & the code for it to work does look like this:

Bildschirmfoto 2020-11-23 um 16 46 28

Does sb have an idea why this does not work or what is blocking the element to execute? Am i missing something?

Bildschirmfoto 2020-11-23 um 16 43 15

@zangab
Copy link

zangab commented Dec 17, 2020

I have to edit, that its a horizontal Scrolling page ...

and then u set option horizontal: false. what u expect dude? 😄

@Lukaskrojer
Copy link
Author

and then u set option horizontal: false. what u expect dude? 😄

It worked with horizontal: false, because for the horizontal parallax i created 1 container around the elements, and inside of the container i created a wrapper - again around the elements.
So what i did is: i rotated the outer container 90deg and the inner wrapper again -90deg - thats why horizontal is false ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants