Print

Table of contents ( TOC )

An article TOC (Table of Contents) is a list of the main sections or headings within an article. It provides an overview of the article's structure and allows readers to quickly navigate to specific sections of interest.

Features:

  • The TOC list is generated automatically.
  • The generated list is based on headings in the article (e.g., H1-H6 or H2-H3).
  • When readers click on TOC headings, the page scrolls down to the corresponding heading.
  • The TOC is sticky if shown in the left or right sidebar; that is, it follows the reader as they scroll up or down the page. TOC located at the top does not move.
article table of content
Sharing TOC Links

Please avoid sharing TOC links, as they are only useful when on the article page itself. If you need to link to a subheading within the article, add a CSS ID, and then use browser anchor links. See this article for an example.

TOC Title Colors

  1. Title: Color of the text
  2. Container Background:  Background behind the title.
  3. Border: The border around the whole TOC.


TOC Headings are the headings generated based on the page. 

  1. Headings: Color of the text, for all headings.
  2. Active Background:  The active background color for the heading.
  3. Active Heading: The active text color.
  4. Hover: Background: The mouse hover background color.
  5. Hover Text: The mouse hover text color

Header Range: The header Range is the range of headings the TOC will display, for example h2 - h6.

  • From Hx: The starting point in this example is the value 2, so H2 headings will be included in the TOC. 
  • To Hy: The end of the range.

To learn more about web headings click here.

My TOC is Not Sticky and Disappears if I Scroll Down

This issue is caused by your active WordPress theme. The theme has applied an overflow property somewhere on the page, which stops the TOC from scrolling. There are two different solutions:

a) If you have no web developer, contact us for help.

b) If you do have a web developer, show them the code below and they can find the proper location to apply this CSS.

CSS
				/*
 The .container class needs to be change to the container class of your active themes classes. It could be even the HTML Tag or BODY Tag.
*/
.container {
    overflow: initial !important;
}
			
  loading=
About this Article

This article's heading and Hotspots are built with our Creative Addons plugin.

Get free Creative Addons for articles
Was this article helpful?
4.7 out Of 5 Stars

5 ratings

5 Stars 60%
4 Stars 40%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Need help?
Table of Contents