Archived topic
Paralxax Effekt on body backround
1 reply · Started by Daniel Häckel on September 5, 2021
Hello
I'm looking for a way to place a partially transparent image as the first layer in front of the background with a parallax effect. is that possible?
For example, I would like some text to move in front of the body background when I scroll down
At the moment I use it like this: In Elementor, I have the partially transparent image as the first level. I have to push all other content over it. The picture receives the parallax effect ... assign a z-index and it works. But it's not really respnsive ..
any ideas? Maybe a hook?
THX
DAN
Hi Daniel,
You can use wp_body_open for this.
You then hook in the image or element you want to place and apply the necessary scripts or styling for parallax similar to what you did with Elementor.
But since you've already done this in Elementor, perhaps you can salvage it to make it responsive. Consider contacting Elementor support about it. :D