Are you a GenerateCustomer?

Do you have an active GP Premium or GenerateBlocks Pro license key?

Create a GenerateSupport account for GeneratePress and GenerateBlocks support in one dedicated place.

Create an account
Already have a GenerateSupport account? Login

Just browsing?

Feel free to browse the forums. Support for our free versions is provided on WordPress.org (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Stick Container on scroll within section

  • Hi Team!

    I have a section with a two column grid. I’d like the container in the left column to be sticky on scroll so the image within the left container is viewable when viewing the table contents in the container on the right col.

    I’ve added a link to the section in private info below.

    Let me know if that makes sense?

    Any help much appreciated!

  • Hi there,

    You are using v1 block, so it requires custom CSS:

    .gb-container.gb-container-d87633e4 {
        position: sticky;
        top: 0;
    }

    If you use v2 block, it can be set in the block style panel.

  • Perfect thank you Ying!
    I hadn’t realised this was possible in v2!

  • No Problem 🙂

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