Use Sticky Menu & Sticky Header to make your WordPress course lesson bar stay on screen while students scroll; the plugin has 100,000+ active installations on WordPress.org [source: WordPress.org].
TLDR: Install the Sticky Menu & Sticky Header plugin, grab the CSS selector for your course menu, and paste it into the plugin settings. For example, if a lesson is 3,000 words long, a sticky lesson list can save a student from scrolling back up 8 or 10 times. In a course with 200 students, that is a lot of tiny clicks saved. Less hunting means more watching, reading, and finishing.
Why this works so well for long lessons
Long lessons are great for teaching. They are not always great for clicking.
A student starts at the top. They read. They watch a video. They answer a quiz. Then they want the next lesson. Where is the menu? Way up there. Gone. Rude.
Honestly, it feels like a tiny tax. One scroll is fine. Ten scrolls feel silly.
A sticky lesson bar fixes that. It keeps key links in view. Students can jump to the next lesson, open a module, or return to the course page without a mini workout for their mouse wheel.
The best part? You do not need to build custom code from scratch. The plugin Sticky Menu & Sticky Header can stick almost any item on scroll. Headers. Sidebars. Lesson lists. Progress boxes. Even a button.
What you need before you start
- A WordPress site.
- An online course page with a lesson menu or sidebar.
- The Sticky Menu & Sticky Header plugin.
- A browser like Chrome, Edge, or Firefox.
- About 10 minutes. Maybe 15 if your theme is being difficult.
If your course also has a sales page, keep that page simple. A sales page has a different job than a full site homepage. This guide explains the difference between a landing page and homepage in plain terms.
Step 1: Install the plugin
- Go to your WordPress dashboard.
- Click Plugins.
- Click Add New.
- Search for Sticky Menu & Sticky Header.
- Install it.
- Activate it.
That is the easy part. This plugin works by watching for one page item. Then it sticks that item when the visitor scrolls.
The trick is telling it which item to stick.
Step 2: Find the CSS selector
This sounds scary. It is not.
Open one of your course lessons. Right click the lesson menu. Choose Inspect. Your browser will open a panel with code. You are looking for a class or ID on the menu box.
It may look like this:
.course-sidebar.lesson-list.ld-focus-sidebar#course-menu
Copy the best-looking selector. If one does not work, try the parent box above it. Yes, this part can be annoying. Expect to waste 30 seconds clicking the wrong wrapper at least once. Totally normal.
Step 3: Add it to the plugin settings
Now go back to WordPress.
- Click Settings.
- Open Sticky Menu.
- Find the field for Sticky Element.
- Paste your selector.
- Save changes.
Refresh your lesson page. Scroll down. Your course bar should now follow along like a loyal little puppy.
If it does not move, do not panic. Try a different selector. Some themes wrap menus inside extra boxes. The plugin needs the box that actually holds the thing you want to stick.
Step 4: Add space at the top
If your site already has a fixed header, your course bar may hide under it. That looks messy.
Use the plugin setting called space between top of page and sticky element. Try 20px, 60px, or 90px.
Test it while logged in and logged out. The WordPress admin bar can change the spacing. If the plugin offers an admin bar setting, turn it on.
Step 5: Do not punish phone users
Sticky sidebars can be great on desktop. On phones, they can become a chunky screen hog.
Set a minimum screen size in the plugin. A safe starting point is:
- 768px for tablets and desktops.
- 1024px if your lesson menu is wide.
On small screens, use a normal menu, a course progress link, or a “Next lesson” button at the bottom. Keep it clean. Phones have enough drama already.
Step 6: Keep the sticky bar useful
Do not stick everything. Stick the stuff students need most.
- Next lesson
- Previous lesson
- Module list
- Course progress
- Mark complete
A sticky bar with 22 links is not helpful. It is a tiny wall of panic. Trim it down.
If your course site creates many filter pages, tags, or archive links, be careful. Too many link paths can get messy for search engines. This guide on faceted navigation SEO problems explains why that can become a headache.
Quick CSS polish
If the sticky box looks cramped, add a little CSS in Appearance > Customize > Additional CSS.
.course-sidebar {
background: #fff;
padding: 16px;
border-radius: 12px;
box-shadow: 0 8px 24px rgba(0,0,0,0.08);
z-index: 999;
}
Change .course-sidebar to your real selector. Keep the design calm. The bar should help, not scream.
Test it like a student
Open a long lesson. Scroll slowly. Click the next lesson link. Try a quiz. Watch a video. Resize the screen. Test on mobile.
Also check how students find your course from search. Some will type your brand name plus a course name. That is a different kind of search intent, and this guide on brand led queries breaks it down.
A sticky course bar is a small change. But it can make long lessons feel smoother, faster, and less like a scroll marathon. Install the plugin, pick the right selector, set the spacing, and test the result. Your students may never thank you for it. They will just stop getting lost. That is a win.