Site logo

Archived topic

Sticky left sidebar and styling without plugin!

9 replies · Started by techs on June 30, 2020

Viewing posts 1–10 of 10

Today I tried WP Sticky Sidebar and it is working. I want to avoid installing a plugin if it can be done with simple code.

Simply I don't want to use any plugins for this customization!

I already tried this code:

@media(min-width: 769px) {
    #left-sidebar {
        position: -webkit-sticky;
        position: sticky;
        top: 80px; /* Adjust value to increase space above */
    }
}

And it is going to right!

Perfect! It is now working fine!

Glad we could be of help

Can you open a new topic with reference to this one?

Also please disable your caching plugin for us to look at the code.

Thanks!

sure, will do. thanks.

No problem :)

This archived topic is closed to new replies.