TechBuzzPro

Add Table of Contents to Wix Blog: Step-by-Step

· 6 min read · Apps & Browsers

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

Adding a table of contents to your Wix blog posts helps readers navigate long articles quickly and improves the overall user experience. This guide walks you through creating a clickable table of contents using Wix’s built-in anchor links and menu elements—no coding required. You’ll need a Wix account with an active blog and the ability to edit your blog post’s content.

What You'll Need

  • A Wix website with the Blog app added.
  • At least one blog post published or in draft mode.
  • Access to the Wix Editor (or Editor X / Studio) where you edit your blog posts.
  • Basic familiarity with adding headings and text in the Wix blog editor.

Step-by-Step

  1. Open your blog post in the Wix Editor. Go to your Wix dashboard, click Blog in the left menu, then select the post you want to edit. Click Edit Post to open the post editor.
  2. Plan your headings. Decide which sections of your post should appear in the table of contents. Typically, these are your H2 and H3 headings. Make sure each section has a clear, concise title.
  3. Add anchor links to your headings. In the post editor, click on the heading text (e.g., “Introduction”). In the toolbar that appears, click the Link icon (chain link). In the link settings, choose Anchor from the dropdown. Click + New Anchor, give it a name (e.g., “intro”), and click Done. Repeat this for every heading you want in the table of contents.
  4. Create the table of contents container. Place your cursor at the very beginning of your post (before the first heading). In the editor’s left panel, go to Add > Menu > Anchor Menu. Drag the Anchor Menu element onto the page. This element automatically lists all anchors you’ve added to the post.
  5. Customize the anchor menu. Click the anchor menu element to select it. In the settings panel, you can choose which anchors to display, reorder them, and change the menu style (e.g., vertical list, horizontal bar). You can also edit the text that appears for each item—it doesn’t have to match the heading exactly, but it should be recognizable.
  6. Style the table of contents. Use the design options to match your site’s branding. You can change font, color, spacing, and background. For a clean look, consider adding a border or a subtle background box to separate it from the body text.
  7. Test the links. Click Preview at the top right. Scroll to the top of the post and click each item in the table of contents. It should smoothly scroll to the corresponding heading. If any link doesn’t work, go back and check that the anchor name matches the menu item’s target.
  8. Save and publish. Once everything works, click Save and then Publish to update your live site.

Common Mistakes

  • Forgetting to add anchors to headings. The anchor menu only shows items that have anchors. If you skip a heading, it won’t appear in the table of contents.
  • Using the same anchor name twice. Wix requires unique anchor names. If you duplicate a name, the link may jump to the first occurrence, not the intended section.
  • Placing the table of contents too low. It should be near the top of the post, ideally before the first heading, so readers see it immediately.
  • Not testing on mobile. Anchor menus can behave differently on mobile. Always preview your post on a phone to ensure the links work and the menu isn’t cut off.
  • Overloading with too many items. A table of contents with dozens of entries defeats its purpose. Stick to main sections (H2s) and only include H3s if they’re truly necessary.

Tips

  • Use descriptive anchor names. Names like “section1” work, but “benefits” or “setup” are easier to manage if you edit later.
  • Keep headings short. Long headings will make the table of contents look cluttered. Aim for 3-5 words per heading.
  • Update the table of contents when you edit the post. If you add or remove sections, remember to add or remove anchors and update the menu accordingly.
  • Consider a sticky table of contents. For very long posts, you can use Wix’s Sticky feature on the anchor menu so it stays visible while readers scroll. In the element settings, look for Sticky and choose Scrolls with page or Pinned.
  • Use the built-in blog post settings. Wix also has a “Table of Contents” option in the blog post settings (under SEO or Advanced). This automatically generates a TOC based on your headings, but it’s less customizable. The manual method gives you full control.

Troubleshooting

  • Menu items don’t appear. If the anchor menu is empty, you likely haven’t added anchors correctly. Re-check each heading: click on it, open the link settings, and confirm the anchor is saved.
  • Clicking a menu item does nothing. This usually means the anchor name in the menu doesn’t match an existing anchor. Edit the menu item’s link and reselect the correct anchor from the list.
  • The table of contents shows on the blog post list page. The anchor menu is added to a specific post’s content. If you want it on every post, you’ll need to add it to each post individually or use Wix’s dynamic pages (requires more advanced setup).
  • Links jump to the wrong spot. This can happen if you have duplicate anchor names. Delete all anchors and re-add them with unique names.
  • The menu looks broken on mobile. Try switching to a vertical layout in the element settings. Also check that the menu isn’t inside a container that collapses on smaller screens.

Frequently Asked Questions

Can I add a table of contents to all my blog posts at once?

No, the manual method requires adding anchors and the menu to each post individually. However, you can create a template for new posts by duplicating an existing post that already has a TOC, then replacing the content.

Does Wix have an automatic table of contents feature?

Yes, in the blog post editor, go to Settings > SEO and look for “Table of Contents.” It generates a TOC from your headings, but it’s less customizable than the manual anchor menu.

Can I style the table of contents to match my brand?

Yes. The anchor menu element can be fully customized—fonts, colors, spacing, borders, and background. You can also add custom CSS if you’re comfortable with code.

Will the table of contents help with SEO?

Indirectly, yes. A TOC improves user experience and can reduce bounce rate, which search engines may consider. It also helps search engines understand your content structure.

Can I include images or icons in the table of contents?

Not directly with the anchor menu element. You can add icons by using a custom HTML element or by creating a table of contents manually with text links and icons, but that requires more work.

Why doesn’t my anchor menu show all my headings?

The anchor menu only shows headings that have anchors added. If you’re using the automatic TOC, it may only include H2s, not H3s. For the manual menu, ensure every heading you want has a unique anchor.