Feature Request: Sticky Table of contents

Posted in: Newspaper
Post count: 221

Sticky table of contents for mobile devices like sticky menu that sticks to the top of the screen. The table of content button or text can be located below it.

For example, see this page on mobile device: https://fmhy.net/adblockvpnguide

Post count: 21065

Hello!

You can have a modal page triggered by a button: https://forum.tagdiv.com/modal-popup/
This can be added in an inner row that can be sticky.
Inside the page, you can have an extra plugin that displays what you wish, or you can use buttons on that page added manually, as well as the scroll-to-class feature.

Thank you!

Post count: 221

Hello!

I did that once. Put a modal button and placed the tagDiv table of contents shortcode inside the modal. It looked alright but the the toc links did not work, they did not take me to the respective article section maybe due to different DOMs.

Also, I am not sure if the inner row has any sticky funcionality, only the column and inner column have. And, when you turn on the sticky, the column sticks compared to it’s sibling column next to it in desktop layout. Since the columns on mobile are stacked, they don’t stick.

The only place where sticky works on mobile devices is the sticky header. And I tried placing the table of contents in there but they did not work. You just click the link and nothing happens.

Thank you.

Post count: 21065

Hello!

You can place a separate row and make it sticky. We will take into consideration your query!

Thank you!

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