[Resolved] Set a page

Home Forums Support [Resolved] Set a page

Home Forums Support Set a page

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1500426
    Matthieu

    How to set a page in full width without it being able to move up and down on the scroll on generatepress?

    Here is an example of the result I would like to obtain: https://delassus.com/en/

    Indeed on the example above, with the scroll of the mouse the page remain “frozen”. I would like to reproduce this.

    Thanks

    #1500564
    Elvin
    Staff
    Customer Support

    Hi,

    You can do that with this.

    body{
    position:fixed; 
    width:100vw; 
    height:100vh;
    overflow:hidden;
    }

    But if you really must follow the exactly what the reference site did, I’m afraid you’ll have to find the custom javascript library it uses and apply it to your site.

    They seem to be using GSAP 3.1.1.
    https://greensock.com

    #1501126
    Matthieu

    Ok perfect ! Thanks

    #1503836
    Elvin
    Staff
    Customer Support

    No problem. 🙂

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