Site logo

[Resolved] How to create sticky footer button

Home Forums Support [Resolved] How to create sticky footer button

Home Forums Support How to create sticky footer button

  • This topic has 3 replies, 2 voices, and was last updated 4 years ago by Fernando.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #2156314
    Sanjay

    How to create sticky footer button?

    Like this page Sticky Footer when scroll down

    #2156337
    Fernando
    Customer Support

    Hi Sanjay,

    To achieve something like this, you may try creating a Block Element with a setup like this: https://share.getcloudapp.com/9ZumWP51

    Also see: https://share.getcloudapp.com/04uEkr9A

    As shown, I have a Button within a Container Block, and this Container has a custom CSS class make-bottom-fixed. Then, I added this CSS to make it fixed:

    .make-bottom-fixed {
        position: fixed;
        bottom: 0;
        left:0;
        background-color:white;
        width:100%;
    }

    Here is an article with regards to adding CSS: https://docs.generatepress.com/article/adding-css/#additional-css

    Adding it through additional CSS should work.

    Hope this clarifies. 🙂

    #2157037
    Sanjay

    Thanku very much.

    I am not a developer but since I started using GP I feel like a developer. thanks again

    #2157286
    Fernando
    Customer Support

    You’re welcome Sanjay! Glad to be of assistance and glad you’re growing as a developer as well! Feel free to reach out anytime if you’ll need assistance with anything else. 🙂

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