How to exclude sign up form/card from showing up in table of contents?

Hi there,

I was wondering how I could exclude the sign up form/card from showing up in my table of contents?
It’s currently displayed as a regular headline (see screen-shot attached).


Thanks for your help!

This is theme-specific. What theme?

ETA: Oops, I see you linked the site. Super. Let me take a peek.

1 Like

Try this in code injection:

li:has(a.toc-link.node-name--H2[href="#"]) {
    display: none;

That’s taking advantage of the fact that the sign up section isn’t generating an anchor tag.

1 Like

Brilliant. As always, thanks a ton Cathy! That worked flawlessly.

1 Like