On the right-side TOC, when it's collapsed, we’d like the H2 to highlight when a user is reading any H3 or H4 section nested under it.
B
Blush Squirrel
On the right-side TOC, when it's collapsed, we’d like the H2 to highlight when a user is reading any H3 or H4 section nested under it.
Photo Viewer
View photos in a modal
Log In
K
Kavya
Hi Blush Squirrel,
Thank you for sharing this request.
We understand the requirement for the H2 to remain highlighted in the right-side TOC when a user is reading an H3 or H4 section nested under it, even when the TOC is collapsed.
To better understand the use case, could you please clarify:
What is the primary reason for needing the parent H2 to remain highlighted while reading its H3/H4 sections?
Is the goal to help users understand their current position within the article hierarchy?
Should the H2 remain highlighted for any nested H3/H4 section until the user reaches the next H2?
Could you share a sample KB URL or screenshot showing the current behavior and the expected experience?
This will help us understand the user need and evaluate the expected TOC behavior.