[Resolved] Parallax effect in featured image not working?

Home Forums Support [Resolved] Parallax effect in featured image not working?

Home Forums Support Parallax effect in featured image not working?

Viewing 3 posts - 16 through 18 (of 18 total)
  • Author
    Posts
  • #1099086
    Leo
    Staff
    Customer Support

    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.

    #1099102
    Travis

    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.

    #1099111
    Leo
    Staff
    Customer Support

    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 🙂

Viewing 3 posts - 16 through 18 (of 18 total)
  • You must be logged in to reply to this topic.