jQuery sticky sidebar on scroll

This jQuery will make your sidebar stick when you scroll to the top by adding a class of “fixed” to the sidebar div. You can then add the appropriate css to the class to make it stick.


Leave a Reply

Your email address will not be published. Required fields are marked *

1 + 2 =