I am not a web developer and am just learning my way around. I have created my own site http://www.mssrikkanth.com using Joomla and I have created a progressive sidebar for my articles following the instructions here : https://www.joomlart.com/tutorials/joomla-tutorials/tutorial-how-to-add-progressive-sidebar-navigation-in-joomla-article
You can check it out here : http://www.mssrikkanth.com/index.php/c/c-11-14-new-features/for-everyone/3-auto-type-declaration-swiss-army-knife
It works but the problem is the releasing of the affix when the user scrolls down to the bottom of the page. I need the sidebar to release the affix once the 'Add comments' section is reached. When I click on 'Add comment' the sidebar scrolls past the comments section.
My css for the sidebar can be found here: http://pastebin.com/qaNsxH8b
The javascript can be found here: http://pastebin.com/8yx7dyb7
I have tried steps like getting the offset height for the div tag corresponding to the comments and setting that as the affix release but it doesn't work. Can someone please help me with this?
Thanks.