Site logo

Archived topic

Want to make left sidebar sticky

1 reply · Started by Dev on January 8, 2021

Viewing posts 1–2 of 2

Hello,

I want to make ONLY the left sidebar sticky.

I found the below CSS in your forum. But that is making my right sidebar also stick. So please let me know what I have only to make the left sidebar sticky.

/* Stick sidebars */
@media(min-width: 769px) {
/* stick right sidebar */
.inside-right-sidebar,
.inside-left-sidebar {
position: -webkit-sticky;
position: sticky;
top: 60px;
}
}

Can you please suggest a paid TABLE OF CONTENT plugin? I know free is available, but I need more control over design. Please let me know.

Hi there,

change the CSS to this:

@media(min-width: 769px) {
    .inside-left-sidebar {
        position: -webkit-sticky;
        position: sticky;
        top: 60px;
    }
}

I am not aware of any Paid ToC plugins, most of our users recommend the Easy Table of Contents or LuckyWP Table of Contents.

This archived topic is closed to new replies.