How to make a sticky widget/sidebar/menu?

[ad_1]

Hi! Im redesigning a website on wordpress as a part of my exam at uni and I wanted to create a vertical menu on the left side of the page. I found a way to do it by placing it as a widget on the sidebar but I’m struggling with making it sticky. I want it to be placed on the middle and make it so it doesnt move when you scroll. I tried finding the answer online but nothing worked, the menu always moves, even a tiny bit but it moves. I also put a picture so you can see what I’m thinking of and how I want it to look.

[ad_2]
1 Comment
  1. Check if you are using bootstrap for your theme. If so — it has some classes that can help you .

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer