WordPress Table of Contents Plugin (CMTOC) - Style - Highlighting the current TOC element


Styling the Current Table of Contents element

Back to User Guides

Within the WordPress Table of Contents plugin settings it's possible to highlight the element that the user has most recently selected. This can be helpful in situations where it might be important for a visitor to know their progression through your site content.

Front-end example - Table of Contents WordPress
Front-end example

Enabling / Disabling highlighting of current element

To enable or disable this feature, navigate to Admin Dashboard → CM Table of Contents Pro → Table of Contents tab → General Styling section.

Enabling custom style for current elements - WordPress Table of Contents Block
Enabling custom style for current elements

Within the General Styling section identify the option Style the current element differently.

Check the box to the right of this label to enable this feature or uncheck it to disable it.

Enabling the option and saving the changes - Add Table of Contents WordPress
Enabling the option and saving the changes

Scroll to the bottom of the Settings page and click Save Changes.

Keep in mind that if the Color is set to black by default the highlighted element will be unnoticeable or barely noticeable.


Changing the color of the last selected element

Click on the Color selector in the Current element styling section and choose the color that you would like the element to appear as.

Changing the color - Floating Table of Contents WordPress
Changing the color

Scroll to the bottom of the page and click Save Changes.

Front-end example - WordPress TOC Plugin
Front-end example

More information about the WordPress Table of Contents Plugin

Other WordPress products can be found at CreativeMinds WordPress Store

Let us know how we can Improve this Product Documentation Page

To open a Support Ticket visit our support center
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.