Home › Forums › Support › Making a sidebar sticky This topic has 5 replies, 2 voices, and was last updated 3 years, 5 months ago by David. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts November 17, 2020 at 8:38 pm #1535533 Hasan Hi! I am trying to make the sidebar sticky for desktop only with the below code, but it is not working. Please help fixing it. @media (min-width: 800px) { #tour-sidebar { position: -webkit-sticky; position: sticky; top: 100px; } } Thanks! November 18, 2020 at 2:29 am #1535769 DavidStaff Customer Support Hi there, add this CSS: .inside-right-sidebar { height: 100%; } November 18, 2020 at 7:29 am #1536355 Hasan Worked perfectly. Thanks, David! I have another issue now since it is making only the first part of the sidebar sticky and the other part is scrolling past it. How can I make the whole sidebar sticky in general? If I apply the code for #ride-sidebar ID, it does not work. November 18, 2020 at 7:37 am #1536370 DavidStaff Customer Support Remove the CSS i provided. And then change your CSS to: @media (min-width: 800px) { .inside-right-sidebar { position: -webkit-sticky; position: sticky; top: 100px; } } November 18, 2020 at 7:41 am #1536377 Hasan Awesome! Thanks a lot!! 🙂 November 18, 2020 at 7:44 am #1536378 DavidStaff Customer Support You’re welcome Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In