• Hi.

    I tried every tutorial out there with position: sticky but nothing worked. I tried coding for the last widget, for the entire sidebar, and also within the sidebar.php, after what gets loaded on the sidebar via widgets backend.

    I want to make the last widget sticky (or to insert code in sidebar.php to make sticky content). Can you please help me? I can’t find anything else to try.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello @mirelaiepurela ,

    It is not possible to create sticky like sidebar, however, you can create sticky like a floating sidebar widget for the last widget.

    #search-16 {
      position: fixed;
      right: 0;
      bottom: 50%;
      z-index: 999;
      width: 30%;
      background: #fff;
      padding: 10px;
      border-radius: 10px;
    }

    Best Regards!

    Thread Starter The Travel Bunny

    (@mirelaiepurela)

    Hi. Sorry, this doesn’t work. It moves the widget out of the sidebar, even off the display ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to make sticky content in sidebar’ is closed to new replies.