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.

Sticky sidebar-element

  • Laufpotatoes2025

    Hey guys,

    I just implemented the green box into my sidebar on https://laufpotatoes.de

    I want it to be sticky on desktop, but can’t figure out the right CSS. Tried different things, but it doesn’t work the way I want it. I just want the green box to be seen all the time while scrolling.

    Could you help me out?

    Thanks in advance!

    Jenny

  • hi there,

    The page you linked does not have a sidebar, can you link me to a page where I can see the sidebar?

  • Laufpotatoes2025

    Hey Ying,

    I mean my blog posts like e.g. “laufpotatoes.de/laufzitate”.

    Thanks for your help!

    Jenny

  • Hi there,

    Try adding this CSS:

    .single-post .inside-right-sidebar {
        height: 100%;
    }
    
    .single-post .inside-right-sidebar aside#block-13 {
        position: sticky;
        top: 0;
    }
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.