How to highlight a TOC-Headline? Using GeneratePress Elements
-
Hello,
I have applied SimpleTOC to the left sidebar as a sticky element via the GeneratePress Themes Elements feature, and so far it works fine.
I guess it will work with any other theme that allows you to hook content to the sidebar. Using the default widget did not work properly in my testing.
However, now I’d like to highlight a toc-headline whenever the corresponding headline of the content reaches the top 200px area of the viewport.
I guess this will require some JS, which unfortunately I’m not familiar with. So I wonder if anyone in this forum can help with this?
Kind regards
Sascha
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to highlight a TOC-Headline? Using GeneratePress Elements’ is closed to new replies.