---
title: "How to Make a Sticky Table of Contents in WordPress?"
url: https://nexterwp.com/docs/make-a-sticky-table-of-contents-in-wordpress/
date: 2024-12-03
modified: 2026-04-14
author: "Aditya Sharma"
description: "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..."
image: https://nexterwp.com/wp-content/uploads/2024/12/How-to-Make-a-Sticky-Table-of-Contents-in-WordPress_-1024x519.jpg
word_count: 210
---

# 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.

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](https://nexterwp.com/docs/add-a-table-of-contents-in-wordpress/).

***Requirement  - This block is a part of the Nexter Blocks, make sure it's installed & activated to enjoy all its powers.***

[LIVE BLOCK LINK](https://nexterwp.com/nexter-blocks/blocks/wordpress-table-of-contents/)

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.

![](https://nexterwp.com/wp-content/uploads/2024/12/tableofcontent-position-fixed.png)

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.

## Frequently Asked Questions

**Q: What should I do if my sticky table of contents isn't appearing?**
A: 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.

**Q: What is the best way to set the top offset for the sticky table of contents?**
A: 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.

**Q: What happens if I forget to add the Table Of Contents block?**
A: 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.

**Q: Does the sticky table of contents work with other page builders?**
A: 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.

**Q: Are there any limitations to using the sticky table of contents?**
A: 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.
