javascript - How can i make a sticky sidebar for a wordpress site?
Get the solution ↓↓↓Solution:
Use a container for your sidebar content with those settings :
position: fixed;
left: 0;
top: 0;
bottom: 0;
width: whateverYouNeedpx;
Then another container with something like this :
position: relative;
height: 100%;
overflow-y: scroll;
You should then be able to scroll if the navbar content overflows the height.
Share solution ↓
Additional Information:
Link To Answer People are also looking for solutions of the problem: npm err! code 1
Didn't find the answer?
Our community is visited by hundreds of web development professionals every day. Ask your question and get a quick answer for free.
Similar questions
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.