InspiredWindsInspiredWinds
  • Business
  • Computers
  • Cryptocurrency
  • Education
  • Gaming
  • News
  • Sports
  • Technology
Reading: How to Make a WordPress Online Course Navigation Bar Follow Students Through Long Lessons
Share
Aa
InspiredWindsInspiredWinds
Aa
  • Business
  • Computers
  • Cryptocurrency
  • Education
  • Gaming
  • News
  • Sports
  • Technology
Search & Hit Enter
  • Business
  • Computers
  • Cryptocurrency
  • Education
  • Gaming
  • News
  • Sports
  • Technology
  • Contact Us
InspiredWinds > Technology > How to Make a WordPress Online Course Navigation Bar Follow Students Through Long Lessons
Technology

How to Make a WordPress Online Course Navigation Bar Follow Students Through Long Lessons

Ethan Martinez
Last updated: 2026/11/25 at 9:13 PM
Ethan Martinez Published November 25, 2026
Share
SHARE

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].

Contents
Why this works so well for long lessonsWhat you need before you startStep 1: Install the pluginStep 2: Find the CSS selectorStep 3: Add it to the plugin settingsStep 4: Add space at the topStep 5: Do not punish phone usersStep 6: Keep the sticky bar usefulQuick CSS polishTest it like a student

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

  1. Go to your WordPress dashboard.
  2. Click Plugins.
  3. Click Add New.
  4. Search for Sticky Menu & Sticky Header.
  5. Install it.
  6. 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.

  1. Click Settings.
  2. Open Sticky Menu.
  3. Find the field for Sticky Element.
  4. Paste your selector.
  5. 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.

Ethan Martinez November 25, 2026
Share this Article
Facebook Twitter Whatsapp Whatsapp Telegram Email Print
By Ethan Martinez
I'm Ethan Martinez, a tech writer focused on cloud computing and SaaS solutions. I provide insights into the latest cloud technologies and services to keep readers informed.

Latest Update

How to Make a WordPress Online Course Navigation Bar Follow Students Through Long Lessons
Technology
PDF-Lib vs PDFKit: JavaScript Libraries for Generating and Editing PDF Documents
Technology
Registration Software: Eventbrite and Cvent Among the Event Management Choices
Technology
XactRemodel: Buildertrend and CoConstruct Among the Home Remodeling Software Choices
Technology
OCR Software for Android: Adobe Scan and Microsoft Lens Among the Document Scanning Apps
Technology
Staffing Software Solutions: Bullhorn and Avionté Among the Recruitment Platforms
Technology

You Might Also Like

Technology

PDF-Lib vs PDFKit: JavaScript Libraries for Generating and Editing PDF Documents

8 Min Read
Technology

Registration Software: Eventbrite and Cvent Among the Event Management Choices

7 Min Read
Technology

XactRemodel: Buildertrend and CoConstruct Among the Home Remodeling Software Choices

8 Min Read
Technology

OCR Software for Android: Adobe Scan and Microsoft Lens Among the Document Scanning Apps

8 Min Read

© Copyright 2022 inspiredwinds.com. All Rights Reserved

  • Contact Us
Like every other site, this one uses cookies too. Read the fine print to learn more. By continuing to browse, you agree to our use of cookies.X

Removed from reading list

Undo
Welcome Back!

Sign in to your account

Lost your password?