How to Make a Sticky Table of Contents in WordPress?

Key Takeaways

  • Nexter Blocks offers a Table Of Contents block that creates a sticky table of contents in WordPress.
  • Users can enable the Position Fixed toggle in the Layout tab to make the table of contents sticky while scrolling.
  • The Offset section allows users to set a top offset value for responsive devices, determining how far from the top the table of contents sticks.
Table of Contents

Do you want to create a sticky table of contents in WordPress? A table of contents helps users navigate your content easily, and making it sticky ensures it stays visible as they scroll, enhancing the overall browsing experience and accessibility.

With the Table Of Contents block from Nexter Blocks, you can create a beautiful 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 a part of the Nexter Blocks, make sure it’s installed & activated to enjoy all its powers.

For this, you have to add a two column section. In one column you have to add your content with headings and in the other column you have to add the Table Of Content block and follow the steps.

1. After selecting the appropriate type and style, enable the Position Fixed toggle in the Layout tab.

tableofcontent position

In the Offset section, you can add a top offset value for responsive devices, i.e. the number of pixels from the top where the table of contents will stick as you scroll down.

Now when you scroll down, you’ll see a sticky table of contents, that you can use for easy navigation.

About the Author

Photo of Aditya Sharma CMO of NexterWP
CMO at POSIMYTH Innovations · NexterWP · 7 years experience

He has spent years in the WordPress ecosystem building, breaking, and optimizing sites until they actually perform. He works at the intersection of speed, growth, and usability, helping creators ship websites that load fast and convert. An active WordPress community contributor sharing through tools, tutorials, and direct collaboration. Tested practice, not theory.

WordpressThemesElementorn8nAIClaudeAutomationServer

Share your Thoughts

Get Instant Answers to all your questions about Nexter Blocks,
Extensions & Theme trained on 1000+ Docs and Videos

Still in Doubt? Let’s Assist You

Have Feedback or Questions?

Join our WordPress Community on Facebook!

Related Frequently Asked Questions

What should I do if my sticky table of contents isn't appearing?

If your sticky table of contents isn't showing, ensure that the Table Of Contents block from Nexter Blocks is installed and activated. This block is essential for creating the sticky feature. Additionally, check that you've enabled the Position Fixed toggle in the Layout tab, as this setting is crucial for the sticky functionality to work.

What is the best way to set the top offset for the sticky table of contents?

Setting the top offset for the sticky table of contents is important for responsive design. You can specify the number of pixels from the top where the table will stick as users scroll. This ensures it doesn't overlap with other elements, particularly on smaller screens. Adjust this value based on your layout to optimize visibility.

What happens if I forget to add the Table Of Contents block?

If you forget to add the Table Of Contents block, the sticky feature won't function as intended. The block is necessary to create the table itself, and without it, users won't have a navigation tool to reference while scrolling through your content.

Does the sticky table of contents work with other page builders?

The sticky table of contents is designed to work with the Gutenberg editor, as it is a feature of the Nexter Blocks. While it may not be fully compatible with other page builders, NexterWP does support Elementor and Bricks, but the sticky functionality is primarily optimized for Gutenberg.

Are there any limitations to using the sticky table of contents?

One limitation to consider is that the sticky table of contents relies on the layout structure you create. If the content is not organized with headings, the table won't populate correctly. Ensure your content is well-structured with appropriate headings to maximize the effectiveness of the sticky table of contents.

Last reviewed: April 14, 2026

Related Docs