Do you want to create a sticky table of contents in WordPress? A table of contents helps visitors navigate your content, and making it sticky keeps it visible as they scroll through long pages.
With the Table of Contents block from Nexter Blocks, you can create a sticky table of contents in WordPress.
To check the complete feature overview documentation of the Nexter Blocks Table of Contents block, click here.
Requirement – This block is part of Nexter Blocks. Make sure it is installed and activated.
To set this up, add a two-column section to your page. In one column, place your content with headings. In the other column, add the Table of Contents block. Then follow these steps:
1. After selecting the appropriate type and style, enable the Position Fixed toggle in the Layout tab.

In the Offset section, add a top offset value for responsive devices. This is the number of pixels from the top of the viewport where the table of contents will remain fixed as visitors scroll down.
When visitors scroll down, the table of contents stays visible at the set position, allowing them to jump to any section at any time.










