Thank you and sorry for missing thatā¦
Works like a charm! Really appreciate your time and help!
Everything is working, but:
- On mobile I donāt see the button āTable of Contentsā as shown in the instructions:
- The only way to see it is to add at least a comment/reply (I would expect it to show even if no replies were added?), but even then, what is shown is not the same as what is in the image:
Is it possible to make it show āTable of Contentsā, not just the icon? Iām thinking that maybe itās possible via CSS, but I was wondering if this is a new āfeatureā or something else I can change to show the text?
I even tried to change the default text, in case that was the issue, but no luck:
EDIT: I was able to add the text via CSS in a custom component, but still wondering if this is a bug or something?
@media screen and (max-width: 767px) {
.d-toc-mini button::after {
content: "Table of Contents";
margin-left: 5px;
font-size: 14px;
vertical-align: middle;
}
}
And I still havenāt figure out the issue of it only being visible at the bottom (instead of "sticky) when thereās no replies.
The screenshots in the first post are quite old. You wonāt find any information about the button which allows you to toggle between timeline and toc when there is more than one post, or information about the toc for replies feature, in them.
The problem with the missing button on mobile was reported here:
Maybe you also want to support this feature request: Fully expand table of content, if youād prefer official support instead of custom CSS.
I was able to make it work when it doesnāt have a reply:
I just added my feedback on that topic. Thanks.