Home › Forums › Support › Sticky left sidebar and styling without plugin! This topic has 9 replies, 4 voices, and was last updated 3 years, 8 months ago by Leo. Viewing 10 posts - 1 through 10 (of 10 total) Author Posts June 30, 2020 at 7:02 am #1346949 techs Today I tried WP Sticky Sidebar and it is working. I want to avoid installing a plugin if it can be done with simple code. Simply I don’t want to use any plugins for this customization! June 30, 2020 at 9:11 am #1347242 LeoStaff Customer Support Hi there, You could try this: https://generatepress.com/forums/topic/side-bar-sticky/#post-1306008 July 1, 2020 at 8:14 am #1348406 techs I already tried this code: @media(min-width: 769px) { #left-sidebar { position: -webkit-sticky; position: sticky; top: 80px; /* Adjust value to increase space above */ } } And it is going to right! July 1, 2020 at 9:16 am #1348498 DavidStaff Customer Support Hi there, you have this topic: https://generatepress.com/forums/topic/need-help-with-fixing-sidebar-and-container-width-by-category/ if that works correctly, then you can add this CSS: .left-sidebar #left-sidebar .inside-left-sidebar { height: 100%; } .left-sidebar #left-sidebar .inside-left-sidebar .widget_nav_menu { position: -webkit-sticky; position: sticky; top: 50px; } July 1, 2020 at 10:48 am #1348629 techs Perfect! It is now working fine! July 2, 2020 at 2:37 am #1349154 DavidStaff Customer Support Glad we could be of help August 21, 2020 at 10:23 am #1413002 Winnie Hi, I tried implementing your CSS, but it’s not sticky. Can you help me take a look at what went wrong? https://myterrariumgarden.com/air-plant-terrarium/ Thank you so much! Best, Winnie August 21, 2020 at 11:17 am #1413065 LeoStaff Customer Support Can you open a new topic with reference to this one? Also please disable your caching plugin for us to look at the code. Thanks! August 22, 2020 at 2:44 am #1413596 Winnie sure, will do. thanks. August 22, 2020 at 8:49 am #1413960 LeoStaff Customer Support No problem 🙂 Author Posts Viewing 10 posts - 1 through 10 (of 10 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In