Site logo

Archived topic

Sidebar and Table of Contents

5 replies · Started by Divya on August 3, 2020

Viewing posts 1–6 of 6

Hi,

I installed Easy Table of Contents that you recommended earlier. I adjusted it to be fixed and floating on the left hand side. Till here all was fine.

But, when I scroll down, in the link given, the table of contents overlaps the main blog content. Is there a way to make sure that even if one line table of contents has a lot of words, it becomes wrapped up within the sidebar and not spill over to the main blog content?

Hi there,

are you using a plugin to make the sidebar sticky?
If so do you want to disable that and ill see what can be done with some CSS to make that work.

Yes, I have used Fixed Widget to make the Table of Contents sidebar sticky.

I can disable the fixed widget, but I eventually do want it as a sticky sidebar.

OK if you want to keep using that plugin then add this CSS:

@media(min-width: 769px) {
    aside.ez-toc {
        max-width: 285px;
    }
}

Thanks a ton! You have been very helpful.

You're welcome

This archived topic is closed to new replies.