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 (GeneratePress, GenerateBlocks).

Want to become a premium user? Learn more below.

Sticky Sidebar won’t stick

  • Hey guys,

    I am trying to make my custom element (left-sidebar) sticky on my blog article. The table of contents is working great but when I paste this additionnal CSS, the TOC won’t stick:

    .sticky {
    position: sticky;
    top: 50px;

    Note that I put the container class as ”sticky” in the bloc interface. I don’t know why it’s not working honestly.

  • Hi there,

    Try adding this CSS as well:

    .inside-left-sidebar {
        height: 100%;
  • It worked. Thank you Ying.

  • You are welcome   🙂

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