TL;DR
- Shopify's blog editor has no table of contents option, and Dawn's blog post template has no table of contents block.
- You can build one by hand: give each heading an ID in the HTML view, then link to it with #id. It works, but you redo it every time a heading changes.
- Some themes include a table of contents block. Otherwise, an app such as vevy builds it from your H2 and H3 headings, at the top of the post or in a sticky sidebar.
Contents
- Does Shopify have a table of contents for blog posts?
- Why add a table of contents?
- What you need
- Method 1: Add a table of contents by hand
- Method 2: Use your theme’s table of contents block
- Method 3: Add an automatic table of contents with vevy
- How to write headings that make a good table of contents
- Common mistakes
- FAQ
- Conclusion
- Sources
Long blog posts lose readers who can’t see what’s inside. A table of contents fixes that: one list at the top, and every reader can jump to the part they came for.
Shopify doesn’t include one. To add a table of contents to Shopify blog posts, you can link each heading by hand with HTML IDs, use a table of contents block if your theme has one, or turn on a table of contents in a blog app like vevy that reads your headings automatically. This guide shows all three, and when each one makes sense.
Does Shopify have a table of contents for blog posts?
No. The rich text editor in Content > Blog posts has no table of contents button, and Shopify’s free default theme, Dawn, has no table of contents block in its blog post template. Its Blog post section has four blocks: featured image, title, content and share.
Some themes include one. For example, Brickspace Lab’s Keystone theme has a Table of Contents block for the article template, filled from a metafield. If your theme doesn’t, you have three options.
| Method | Updates when headings change | Sticky sidebar | Code needed | Best for |
|---|---|---|---|---|
| 1. Heading IDs by hand | No | No | Some HTML | A few long posts |
| 2. Theme block | Depends on the theme | Depends on the theme | No | Stores whose theme already has one |
| 3. vevy (automatic) | Yes | Yes | No | Every post, without upkeep |
Why add a table of contents?
A table of contents helps two kinds of readers. People who read the whole post see its structure before they start. People who came for one answer, like a size chart or a single step, find it without scrolling past everything else.
It can also help in search. Google sometimes adds a Read more link to a snippet that takes searchers to a specific section of the page. Google’s snippet documentation gives three ways to make these links more likely: keep the content visible when the page loads (not hidden in tabs or collapsed sections), don’t use JavaScript to force the scroll position on load, and keep the # part of the URL if your page changes it. A table of contents doesn’t create these links on its own, but clear, linkable sections are what they point to.
What you need
- Access to Content > Blog posts in your Shopify admin
- A post with at least four H2 headings. Shorter posts rarely need a table of contents.
- About 15 minutes per post for Method 1, or a few minutes once for Method 3
Method 1: Add a table of contents by hand
After this method, one post has a clickable list that jumps to each section. This is the free option, and it works with any theme.
Step 1: Give each heading an ID
- Go to Content > Blog posts and open the post.
- Click Show HTML (the
<>button) in the editor toolbar. - Find each H2 heading and add an
idwith a short, lowercase name, using hyphens between words:
<h2 id="how-to-clean">How to clean a linen duvet</h2>
<h2 id="how-to-dry">How to dry it without shrinking</h2>
<h2 id="how-often">How often to wash it</h2>
Each ID must be unique on the page. Google’s own guide to heading anchors recommends the same format: lowercase letters with hyphens between words.
Step 2: Add the list of links
Still in the HTML view, place a list under your introduction. Each link starts with # and the ID it points to:
<p><strong>In this guide</strong></p>
<ul>
<li><a href="#how-to-clean">How to clean a linen duvet</a></li>
<li><a href="#how-to-dry">How to dry it without shrinking</a></li>
<li><a href="#how-often">How often to wash it</a></li>
</ul>
You can also do this without HTML for the links: write the list in the normal editor, select each item, click the link button and enter #how-to-clean as the address. The IDs on the headings still need the HTML view.
Step 3: Save and test
Click Save, then open the post on your live store and click every link.
Verify: each link should jump to its heading. If a link does nothing, open Show HTML again and check that the ID is still on the heading after saving, and that the link matches it exactly, including capital letters.
The weak point of this method is upkeep. When you rename or add a heading, you have to change the ID and the list by hand, in every post. For a handful of evergreen guides that’s fine. For a blog that publishes every week, it gets skipped.
Method 2: Use your theme’s table of contents block
After this method, posts that use your blog post template show a table of contents, if your theme supports it.
- In your Shopify admin, go to Online Store and click Edit theme.
- Open the page menu at the top of the editor and choose Blog posts.
- In the blog post section, click Add block and look for a table of contents block.
- Follow your theme’s instructions for filling it. Some themes read your headings automatically, and others use a metafield you fill in for each post.
- Click Save.
Verify: open two posts with different headings. Each should show its own list.
If there is no such block, your theme doesn’t have one. You can ask a developer to add one to the article template, but you then own that code and need to redo it if you change themes. Shopify’s guide to extending your theme also warns that editing theme code can stop your theme from getting automatic updates.
Method 3: Add an automatic table of contents with vevy
After this method, every post shows a table of contents built from its headings, and it updates by itself when you change them.
vevy Blog Builder is a drag-and-drop blog builder for Shopify. Its table of contents is part of the article template:
- Install vevy from the Shopify App Store and open it from Apps in your admin.
- Go to Templates and click Customize design on the article template card.
- In the Elements tab, under Reading tools, turn on Table of contents.
- Choose the Position: at the top of the post, or in a sticky sidebar that stays visible while the reader scrolls.
- Choose the Heading levels: H2 only, or H2 and H3 nested under them.
- Set the heading text (for example “In this guide”) and the colors, then click Save settings.

To turn it off or on for a single post, open the post in the vevy editor, click Layout and switch Table of contents there. That’s useful for short posts, like a store announcement, where a list of two headings looks odd.

Because the list is built from the headings themselves, there are no IDs to keep in sync. Your posts stay normal Shopify blog posts, so URLs and search listings don’t change. The full list of settings is in template settings.
Verify: open a post on your live store on a desktop and on a phone, and click a few entries. With the sticky sidebar, check that it stays in view as you scroll.
How to write headings that make a good table of contents
A table of contents is only as useful as the headings it lists. A few habits make it work:
- Write headings people would search for. “How to dry a linen duvet without shrinking it” tells the reader what they’ll get. “Drying” doesn’t.
- Keep one idea per H2. If a section covers three things, split it.
- Use H3 only under an H2. Skipping from H2 to H4, or using bold text as a fake heading, breaks the nesting.
- Aim for four to ten entries. Fewer, and the post probably doesn’t need one. More, and it’s hard to scan, so show H2 only.
- Put the answer right under the heading. Readers who jump to a section want the answer in the first sentence, not after another introduction.
For more on heading structure, see on-page SEO best practices for Shopify stores.
Common mistakes
Hiding the content readers jump to. If a section sits inside a collapsed accordion, the link has nowhere visible to land. Keep the main content open on the page.
A sticky header that covers the heading. Many themes have a header that stays at the top while you scroll, so a jump can land with the heading hidden behind it. Test every link, and if headings disappear under the header, ask your developer to add a scroll offset (scroll-margin-top) for headings.
Copying IDs between posts. When you reuse an old post as a starting point, its IDs come with it. That’s fine as long as they still match this post’s headings.
Changing a heading that other pages link to. If an email or another post links to #how-to-dry and you rename that ID, the link stops jumping to the section. Keep the old ID when you only change the heading’s wording.
FAQ
How do I add a table of contents to a Shopify blog post without an app?
Open the post in Content, then Blog posts, and click Show HTML. Add an id to each H2 heading, such as id=“how-to-clean”, then add a list near the top where each item links to #how-to-clean. Save and click every link on your live store to check it works. You need to repeat this whenever headings change.
Does a table of contents help SEO?
It doesn’t raise rankings by itself. It helps readers find sections, which makes long posts easier to use, and it gives every section a clear, linkable place on the page. Google can show Read more links in search results that jump to a specific section, and it recommends keeping that content visible on page load.
Should the table of contents include H3 headings?
For most posts, H2 only is easier to scan. Include H3 headings when the post is long and its H2 sections have clearly separate sub-steps, such as a care guide with methods for different fabrics. In vevy you choose H2 only or H2 and H3 in the template settings.
Why do my Shopify table of contents links not work?
Usually the link and the heading ID don’t match exactly, the ID was removed when the post was saved, or the same ID is used twice on the page. Open Show HTML and compare them character by character. If the link jumps but the heading is hidden, your theme’s sticky header is covering it.
Conclusion
Shopify doesn’t add a table of contents to blog posts, but you have three ways to get one. Link heading IDs by hand for a few long guides, use your theme’s block if it has one, or let vevy build a table of contents from your headings on every post, at the top or in a sticky sidebar. Start with your longest post: it’s the one where readers need a map the most.
Add a table of contents to every post
vevy builds it from your headings, at the top of the post or in a sticky sidebar, with no IDs to keep in sync.
Get for freeSources
- Google Search Central, “Control your snippets in search results” (Read more deep links), https://developers.google.com/search/docs/appearance/snippet, retrieved 2026-11-22
- Google developer documentation style guide, “Make headings into link targets,” https://developers.google.com/style/headings-targets, retrieved 2026-11-22
- Shopify Help Center, “Extending your theme,” https://help.shopify.com/en/manual/online-store/themes/extend/, retrieved 2026-11-22
- Brickspace Lab, “Keystone: using the article template,” https://intercom.help/brickspacelab/en/articles/9945333-keystone-using-the-article-template, retrieved 2026-11-22
- Shopify, Dawn theme source (
sections/main-article.liquid), https://github.com/Shopify/dawn, retrieved 2026-11-17
