Title: Table of Content active class adding wrongly
Last modified: January 29, 2020

---

# Table of Content active class adding wrongly

 *  Resolved [ripitgovind](https://wordpress.org/support/users/ripitgovind/)
 * (@ripitgovind)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/table-of-content-active-class-adding-wrongly/)
 * Hi team,
    On clicking table of content heading, active class is adding to wrong
   heading. When I click the first heading, the third heading gets highlighted.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ftable-of-content-active-class-adding-wrongly%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  [Steven](https://wordpress.org/support/users/shazahm1hotmailcom/)
 * (@shazahm1hotmailcom)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/table-of-content-active-class-adding-wrongly/#post-12377225)
 * Unfortunately all sorts of things in a theme can cause this to go wrong. I see
   nothing obvious that I can point to as a cause. The next version, which is presently
   being worked on, has new code around this which will hopefully be a little robust
   and more reliable when confronted with the many themes available for WP.
 * Sorry this is not of much help!

Viewing 1 replies (of 1 total)

The topic ‘Table of Content active class adding wrongly’ is closed to new replies.

 * ![](https://ps.w.org/easy-table-of-contents/assets/icon-256x256.png?rev=3045459)
 * [Easy Table of Contents](https://wordpress.org/plugins/easy-table-of-contents/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-table-of-contents/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-table-of-contents/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-table-of-contents/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-table-of-contents/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-table-of-contents/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Steven](https://wordpress.org/support/users/shazahm1hotmailcom/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/table-of-content-active-class-adding-wrongly/#post-12377225)
 * Status: resolved