PostX

  1. Home
  2. Docs
  3. PostX
  4. Add-On
  5. Table of Content

Table of Content

The Table of Content blocks is a brand new addition to the PostX family. You can now easily create a customizable Table of Content without any issues.

PostX Table of Content Blocks

The Table of Content blocks is simple enough to use if you’ve used the PostX block library beforehand. So, you don’t need to learn anything new, as the settings are pretty much the same. You’ll need to enable the addon from the PostX Addons section.

Enabling the Table of Content Addon
Enabling the Table of Content Addon

Note: After enabling the addon, you can use the Table of Content block for any posts or pages. However, you can not use it on the Single Post Template. You have to manually add the Table of Contents block to all of your posts or pages.

With the Table of Content blocks, you have the Design, Setting, and Advanced tab.

Table of Contents Settings Tabs
Table of Contents Settings Tabs

Design Tab

From the design tab, you can change/import new table designs. It will show you the recommended design templates you can use for your tables. Also, under the advanced settings, you work with Additional CSS classes.

Design tab
Design tab

Advanced Tab

Under the Advanced tab, you’ll find the following options:

The Advanced Tab
The Advanced Tab
  • You can add an ID to the General design properties.
  • Change the Z-index settings.
  • There are options to add Margin and Padding to the table.
  • You can choose to hide/show the tables on different devices from the Responsive Settings (desktop, tablet, mobile, and large displays).
Responsive Settings
Responsive Settings
  • Add Custom CSS properties to the Table.
  • Add Additional Classes.

Setting Tab

This will be the key point of interest for all users. From here, you can change the key features of the Table of Contents.

The Settings Tab
The Settings Tab
  • Under the General settings, you’ll find the option to:
    • Add/Remove Heading Tag
    • Enable/Disable Collapsible Table Settings
    • Enable/Disable Back to Top’ functionality.
Heading Settings
Heading Settings
  • Under the Heading Setting, you’ll find the option to changet:
    • The Header Text.
    • The Text Colort and Background Color.
    • Typography
    • Border Color
    • Button Radius
    • and Padding
List Body Settings
List Body Settings
  • Under the List Body Settings, you can change the:
    • Hover Styling (Pro Feature).
    • Enable or Disable Sticky Menu.
      • Enable sticky menu position: either to the left or to the right.
  • Width and Y-spacing of the List Body and List Gap.
    • Text Color, Hover Color and Background Color
    • Typography
    • Padding
  • Under the Collapsible setting, you’ll find the following:
    • Button Positioning
    • Collapsible type
      • Text: Opening and Closing Text
      • Icon: Typograpghy and related design properties
        • Hover color
        • Background and text color
        • Hover background
        • Border and Border Radius
        • Padding
Table of Content Collapsible Setting
Table of Content Collapsible Setting

The Table of Contents block has a ‘To Top‘ functionality where you can go to the very top of the list. Under this functionality, you have:

Table of Content To Top Setting
Table of Content To Top Setting
  • Positioning (‘To Top Position’)
  • Icon Type (‘Angle’ , ‘Arrow’, ‘Caret’)
  • Icon Size Slider
  • design properties
    • Hover color
    • Background and text color
    • Hover background
    • Border and Button Radius
    • Padding

Check out other relevant sections in the PostX documentation to build better websites. Also, here’s a quick post on how to create and customize the table of content blocks:

Was this article helpful to you? Yes 1 No