BLACK FRIDAY: 50% OFF all Pro plans Code: BLACKFRIDAY50
Pro from $10 a year or $30 lifetime, no code needed: Code: BLACKFRIDAY50
Ends Cyber Monday, 30 Nov. Lock in the price today. Code: BLACKFRIDAY50
Get 50% Off
Pro widget

Table of Contents Widget for Elementor Pro

An automatic table of contents built from your page headings

Overview

What Table of Contents does

Table of Contents reads the headings on the page and turns them into a clickable list. It can highlight the section being read, stay in view in its column, or sit behind a floating button. Use it on long posts, guides and documentation pages.

Live demo

See it in action

Table of Contents widget by Bright Addons
Features

What it can do

  • Builds the list from the heading levels you choose, H2 to H4 by default

  • Nested list with sub headings indented under their section, or one flat list

  • Five list styles: numbers (1, 1.1, 1.2), bullets, an icon, a line on the left, or none

  • Three positions: where placed, sticky in its column, or a floating button that opens a panel

  • Highlights the current section while the visitor scrolls

  • Open and close button that can start closed on phones, on tablets and phones, or always

  • Scroll offset that leaves room for a sticky site header after a click

  • Can add the current section to the page address so visitors can copy a link to it

Use cases

When to use it

Long blog posts

Place it at the top of an article so readers can see the outline and jump to the part they need.

Sticky sidebar outline

Put it in a column next to the article and set Position to Sticky. It stays in view and highlights the section being read.

Floating contents button

Use the Floating Button position on pages with no sidebar. Visitors open the list from a button at the edge of the screen.

Setup

How to set it up

A few steps from adding the widget to a finished result.

  1. Drag the Table of Contents widget onto a page that already has headings.

  2. In the Table of Contents section, set the Title and pick a List Style such as Numbers (1, 1.1, 1.2) or Line on the Left.

  3. In the Headings section, choose which heading levels to show under Include.

  4. If headings from other areas appear, type a selector in Look Inside (CSS selector) or Skip Headings Inside (CSS selector).

  5. In the Behaviour section, choose a Position: Where Placed, Sticky or Floating Button.

  6. Set Scroll Offset (px) to the height of your sticky site header so headings are not hidden after a click.

FAQ

Questions and answers

Do I have to add IDs to my headings?

No. The widget gives every heading without an ID one made from its text, and keeps IDs that already exist.

Why are some headings missing from the list?

Check the levels under Include and the two selector fields in the Headings section. Headings that are hidden when the page loads, or that sit in the header, footer or a popup, are skipped.

My sticky header covers the heading after a click. How do I fix that?

Raise Scroll Offset (px) in the Behaviour section to the height of your sticky header. The default is 80.

Keep exploring

Related widgets

A reading progress bar and a back to top button

A slide-in panel for menus, templates or text

A search box that shows results while visitors type.

Show a WordPress menu with dropdowns, mega panels and a mobile menu.

Bright Addons Pro

Get Table of Contents with Bright Addons Pro

Bright Addons Pro has 97 Pro widgets plus all 53 free widgets, 10 extensions, a Theme Builder and 32 dynamic tags. From $10 a year, with a 14-day money-back guarantee.