Table of Contents - how to set a different fs-toc-offsettop from desktop to mobile

Hi Finsweet support team, here’s my need:

Hey @arthur.xuan.vu! I am afraid there is no native solution for this but it seems you have already figured out a way to modify the values with JS which is great!

You can try destroying and reinitializing the attribute with these lines

window.fsAttributes.toc.destroy();
window.fsAttributes.toc.init();

Let me know if this fixes your issue!