Table of Contents needs a Global Header option

Posted in: Newspaper
Post count: 201

Hi,

Most blocks allow ‘Header template’ to be set to ‘Global Header,’ helping ensure consistency across a site.

Table of Contents doesn’t have this option. Any chance it could be added?

While it’s possible to create a separate header using the ‘Title’ element, this isn’t ideal as it would still show if the table of contents is not populated.

Post count: 35449

Hi,

For most users, the custom title from the Single Post Table of Contents element is sufficient https://i.imgur.com/ChU1uy2.png. However, if you need an additional title, you can use the ‘Title’ element. You can apply a JavaScript condition to a class set on that element, so it will only be displayed when the Single Post Table of Contents is visible.

Thank you!

Post count: 201

Hi Calin,

Agree on both counts. It’s a niche suggestion, but nevertheless, it would be good for consistency to have the ‘Global header’ option, as we do for Flex Blocks: https://imgur.com/a/ANMpOWo

Post count: 35449

Hi,
I added this as a suggestion on our list.
Thanks

Post count: 201

Thank you, Calin, much appreciated.

Viewing 5 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic.