Home › Forums › Support › Sticky sidebar not working with generateblocks This topic has 5 replies, 2 voices, and was last updated 1 year, 12 months ago by Ying. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts April 22, 2022 at 12:53 pm #2197382 Marc I’m trying to “stick” a GenerateBlocks container element to my sidebar and it’s not working. My css is: @media(min-width: 769px) { #right-sidebar .sticky-container { position: -webkit-sticky; position: sticky; top: 0px; /* offset from top of screen on scroll */ } } I’ve given the generateblocks container a class of sticky-container. April 22, 2022 at 2:17 pm #2197435 YingStaff Customer Support Hi Marc, In order to make the CSS work, you’ll need to switch to flexbox from float at customizer > general. Let me know if you need further assistance ๐ April 22, 2022 at 2:22 pm #2197442 Marc Thanks. I made that change but still did not work. Do I need to set a 100% width to inside-right-sidebar? April 22, 2022 at 2:47 pm #2197453 YingStaff Customer Support I just checked your site, it’s still using floatstructure. I think there’s some kind of cache needs to be cleared. April 22, 2022 at 6:12 pm #2197499 Marc I cleared the cache. Still doesn’t work. I did get it to work with 100% height to inside-right-sidebar. Is that the right way to do it? April 22, 2022 at 9:14 pm #2197538 YingStaff Customer Support Yes, it’s now using flexbox. And yes, set inside-right-sidebar‘s height to 100% is correct ๐ 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