[Resolved] Sidebar start after full sized image

Home Forums Support [Resolved] Sidebar start after full sized image

Home Forums Support Sidebar start after full sized image

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #781996
    Ian

    Howdy,

    Would it be possible to make a cover photo on wordpress 5.0.3 stretch the full width of the container, and then start the sidebar below the image along with the other content.

    Thanks for the help!

    Ian

    #781997
    Ian

    This is for the main page at NRMG.org

    #782029
    Leo
    Staff
    Customer Support

    Hi there,

    I believe the header element is what you are looking for:
    https://docs.generatepress.com/article/header-element-overview/
    https://docs.generatepress.com/article/page-hero-examples/

    Let me know if this helps πŸ™‚

    #782729
    Ian

    Wow this is exactly what I was looking for!! Thanks so much!!

    You can see this implemented at NRMG.org now. Would it be possible to make the background fixed so that it doesn’t move as the user scrolls up or down the page?

    #782839
    Leo
    Staff
    Customer Support

    I would recommend trying the built-in parallax effect:
    https://docs.generatepress.com/article/header-element-overview/#page-hero

    Or you can try this CSS:

    .page-hero {
        background-attachment: fixed;
    }
    #782902
    Ian

    Awesome that’s exactly the code I needed πŸ™‚

    #783007
    Leo
    Staff
    Customer Support

    No problem πŸ™‚

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.