Document Site with Navigation and TOC

Well I understand the problem, when the content of the article is too short, it simply cannot work. The script does not behave as expected. Also because it is positioned at the top, so the position remains visibly always on the first h2.

By increasing the content of the article and moving the TOC with a fixed position, everything works correctly

About the empty h3 you were right, it’s a new line without content

1 Like