Cu BetterDocs, you can add a Sticky Table Of Contents (TOC) to your Single Doc page in Shopify. If you use multiple headings (or heading tags) in your documentation, this knowledge base app will include the headings inside the Table of Contents box that will stay afloat over the documentation page. The TOC allows your users to bounce back and forth between different sections in your document.
How To Add A Sticky Table Of Contents With BetterDocs For Shopify? #
Follow the step-by-step guide below to learn how to add a sticky table of content in single docs in just a few steps.ย
Notฤ: You must have BetterDocs for Shopify installed and activated on your store to create the documents.
Step 1: Enable The Table Of Contents #
To enable and add a Table Of Contents in your single documentation using BetterDocs, you need to first navigate to the โSetฤriโ tab from the appโs homepage. Then, click on the โTable Of Contentsโ option from the side panel.
Now, โTurn Onโ the โTable Of Contentsโ button to show the table of contents on the document page.

Afterward, you can adjust the โContent offsetโ and โTOC supported heading tagsโ and click on the โSaveโ button again.

Step 2: Configure The Table Of Contents #
To configure the TOC, go to the โDesign your TOC pageโ section and press on the โDesign nowโ option.

Now, navigate to the left sidebar and select the โBasic designโ. From here you can toggle the on or off the โEnable toc hierarchyโ, โToc list numberโ, and โEnable sticky tocโ options.
You can customize the โSticky toc widthโ, โSticky toc margin topโ, โBackground colorโ, โContent area paddingโ etc and click on the โSaveโ button to make the Table of content more stunning.
Step 3: Advanced Control to Design The Table Of Contents #
Once you have enabled the TOC, you can design different aspects of the Table Of Contents to match your storeโs branding. To do so, click on the โDesignโ โ โList Itemโ to customize them.
Now go to the right side and customize โTitle font-sizeโ, โList item font-sizeโ, โTOC marginโ and more options to design the TOC as your to your preferences. After customizing just hit on the โSaveโ buton.
This is how easily you can add, configure, and design a Sticky Table Of Content on your Shopify account using BetterDocs.
Still, facing difficulties? Feel free to contact our dedicated support team.
