Archived topic
Create Table of Content in the Sidebar
7 replies · Started by Sufia on July 25, 2020
Hi, I want to create a fixed table of content on the sidebar, like here - https://www.authorityhacker.com/featured-snippets/
Can please you tell me how to do that?
Hi there,
You will need a plugin like this:
https://en-ca.wordpress.org/plugins/easy-table-of-contents/
I installed the plugin but how do I place it on the sidebar. It says - https://prnt.sc/too54t
#right-sidebar or #left-sidebar
Hi, I want the toc in the sidebar of only posts not pages and definitely not on the homepage. But when I enable the toc from widget > sidebar, it appears on the homepage as well as pages. How can I restrict it just to post?
Would something like this help?
https://en-ca.wordpress.org/plugins/content-aware-sidebars/
Hi Leo, I'll check out the plugin. Meanwhile, can you take a look at the link I submitted in this thread. The table of content appears in the right sidebar. It's orange in color. How do I change that color? I had a search bar before placing the toc. That was orange as well. So I believe it's part of the theme. How do I switch it off or change the color?
Go to Customizer > Additional CSS and remove this:
.sidebar .widget:first-child {
background-color: #e86000;
color: #fff;
}