---
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-08-17
author: "Aditya Sharma"
description: "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..."
image: https://nexterwp.com/wp-content/uploads/2024/12/How-to-Make-a-Sticky-Table-of-Contents-in-WordPress_-1024x519.jpg
word_count: 199
---

# How to Make a Sticky Table of Contents in WordPress?

## Key Takeaways

- Nexter Blocks Table of Contents block creates a sticky table of contents in WordPress for long pages.
- Position Fixed toggle in the Layout tab keeps the table of contents fixed while visitors scroll.
- Offset section sets a top offset value in pixels for responsive devices, defining where the table of contents remains visible.

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

***Requirement - This block is part of Nexter Blocks. Make sure it is installed and activated.***

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

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.

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

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.