Home > Back-end >  Make sidebar menu sticky with scrolling
Make sidebar menu sticky with scrolling

Time:10-25

I would like to have my sidebar menu sticky when scrolling the page. enter image description here

An example of what I want can be found here: Screen of the correct parent sticky wrapper

You can use Javascript to get readthis height and set this value on your sticky parent.

document.getElementById('module-365').style.height = document.getElementById('readthis').offsetHeight   'px' ;
  • Related