How To Add A Sticky Table Of Contents With BetterDocs?

Met 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? #

Follow the step-by-step guide below to learn how to add a sticky table of contents in single docs in just a few steps. 

Notitie: 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 'Instellingen' tab from the app’s homepage. Then, click on the ‘Table Of Contents’ option from the side panel. 

How To Add A Sticky Table Of Contents

Now, ‘Turn On’ the ‘Table Of Contents’ button will be to show the table of contents on the document page. 

How To Add A Sticky Table Of Contents

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

How To Add A Sticky Table Of Contents

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. 

How To Add A Sticky Table Of Contents

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.

How To Add A Sticky Table Of Contents

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.

How To Add A Sticky Table Of Contents

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

How To Add A Sticky Table Of Contents

Now go to the right side, get ‘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’  knop. 

How To Add A Sticky Table Of Contents

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.

Aangedreven door BetterDocs