When using an element selector as the offset value, the actual offset amount is the element’s height. For example, if you set the offset value to: #some-id
, then the offset amount will be the height of the element with id some-id
. Now, if you set the value to #some-id:width(>800)
the offset will be applied only when the element with id some-id
is wider than 800 pixels. Hope this makes sense.
You can also use plugin’s “Auto-generate #ps2id-dummy-offset element” option to create more advanced offsets (more info).
From what you said about needing multiple offsets based on viewport width, I’d say that you need to use your sticky element selector as the offset value. This would make the offset change on-the-fly according to the viewport/screen width (i.e. the sticky element’s height). It would also be better to set the offset value in plugin settings and not individually on each link as your screenshot suggests.
I can usually help with which element selector to set as the offset value but I’d have to see your site/page.