We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, Is there a way to disable the auto TOC collapsible headers by default? I still wanna have the option for collapse them but not automatically
Thank you!
The text was updated successfully, but these errors were encountered:
Yes it is a planned feature for the next release.
Sorry, something went wrong.
Hello @alistair3149 , Is there a way to disable the auto TOC collapsible while u implement this in the theme? Thanks
Is there a way to disable the auto TOC collapsible while u implement this in the theme?
There isn't a way now but you can disable the whole collapse feature through CSS:
/* Hide ToC collapse toggle */ .client-js .citizen-toc .citizen-toc-toggle { display: none; } /* Remove reserved space for ToC collapse toggle */ .citizen-toc-link:has( + .citizen-toc-toggle ) { margin-right: 0; } /* Do not collapse ToC children */ .client-js .citizen-toc .citizen-toc-level-1 .citizen-toc-list-item { display: block; }
Thank you for the css code
No branches or pull requests
Hello,
Is there a way to disable the auto TOC collapsible headers by default?
I still wanna have the option for collapse them but not automatically
Thank you!
The text was updated successfully, but these errors were encountered: