All 33 Table of Contents answers

See every answer

Answer

Clicking an entry hides the heading under my sticky header

Updated Table of Contents 1.8.1Tested with WordPress 7.1

That is what Settings → Sticky header is for. Put in the CSS selector for your header — .site-header, #masthead, whatever your theme uses — and its height is measured on the day and allowed for.

Use Scroll offset (px) on top of that if you want a little more breathing room. You should not need it for the admin bar; that is measured separately, and only for people who actually have one. Both work with smooth scrolling on or off.

Still stuck? Ask the developers who wrote it. We aim to reply within one business day.

Table of Contents

Give a long post a contents list built from its own headings, and a permanent link to every section.

From $19 a year · every feature · 30-day refund

Buy Table of ContentsSee the plugin

A journal post about washing a hoodie. After the opening paragraph, a contents list in the Ladder design is headed Contents, 18 sections, 3 min read, with a Hide control and a thin progress bar. It lists five numbered sections, Before you wash it, Washing, Drying, Storing it between seasons and When something goes wrong, each with its own numbered sub-sections joined by a line of dots.