-
AuthorPosts
-
October 15, 2025 at 9:47 pm #1490260
I am using the knowledge base plugin from Echo plugins with my Enfold theme. On my article pages I have the issue that the Table of Contents in the right sidebar is not sticky, although it’s supposed to be.
In the knowledge base documentation the following is mentioned about this: “This issue is caused by your active WordPress theme. The theme has applied an overflow property somewhere on the page, which stops the TOC from scrolling.”
According to the same documentation the solution is to add the following css:
/*
The .container class needs to be change to the container class of your active themes classes. It could be even the HTML Tag or BODY Tag.
*/
.container {
overflow: initial !important;
}Can someone tell me if this will work and if it does where to paste this code?
October 16, 2025 at 7:18 am #1490272Hey pfk-kbh,
Thank you for the inquiry.
We may need to see the page to properly check the issue. Please create a test page and provide the URL in the private field. Also, make sure that Appearance > Theme File Editor is enabled and accessible, just in case.
Best regards,
IsmaelOctober 16, 2025 at 9:01 pm #1490306Thanks, Ismael. Please see testpage URL etc. in private field. Theme file editor is enabled.
Best regards,
Peter
October 17, 2025 at 6:09 am #1490312Hi,
Thank you for the inquiry.
We checked the TOC widget and it’s not set to be sticky. There is also no script that sets it to fixed on scroll, so it’s normal that it doesn’t stick while scrolling. Did you disable the sticky option? We recommend reaching out to the plugin developers for additional assistance.
Best regards,
IsmaelOctober 17, 2025 at 12:27 pm #1490340if they rule it by position sticky – have a look here :
https://webers-testseite.de/sticky-sidebar/
this principle can be used on different elements:
https://webers-testseite.de/sticky-elements/ -
AuthorPosts
- You must be logged in to reply to this topic.
