Using Sticky Kit jQuery plugin, but can't figure out how to use the 'offset_top' option? Using Sticky Kit jQuery plugin, but can't figure out how to use the 'offset_top' option? jquery jquery

Using Sticky Kit jQuery plugin, but can't figure out how to use the 'offset_top' option?


Ah, figured it out.

To add a 20 pixel offset to #sticky_item do this:

$("#primary").stick_in_parent({offset_top: 20});