Sidebar with affix and scrollspy

Love this sidebar menu!

The highlighting on scroll is a tough nut for me to crack - I’m working on this here:
https://cycopress.appspot.com/docs/

Is their someone that could be kind enough to show us how to do this in semi-layman terms?

1 Like

Have you been through the Bootstrap docs on Scrollspy?

It’s just the standard BS affix/scrollspy markup. You can look at the source on the Roots page as well. The only JS we have to activate it is:

$('body').scrollspy({ target: '.toc' });

Killer Scott! Thank you sir…

Thank Nick, yes I had… I’m sure I have a typo somewhere