Archived topic
Parallax effect in featured image not working?
17 replies · Started by Travis on December 7, 2019
I see the page hero code now.
Have you tried adding the top and bottom padding?
https://docs.generatepress.com/article/how-to-create-a-page-hero/#step-4-set-the-height
Might be helpful be good to go through the entire article.
Thanks for the snark.
Is it possible to add Parallax without having to use the page hero functionality? I'm just looking to add that effect to the header, and this is seeming needlessly complicated.
Unfortunately not.
You should be able to recreate your current header layout with header element though.
It's actually built for something like that.
So instead of using that image as the site header background, add that as the header element background image with the merge option:
https://docs.generatepress.com/article/how-to-create-a-page-hero/#optional-step-merge-with-site-header
That should help you to get started.
Let me know if this helps at all :)