Use the Sticky Menu or Anything on Scroll plugin to keep your WordPress recipe menu visible while readers move through long cooking steps. It works well for recipe indexes, “Jump to Ingredients” buttons, prep notes, cook timers, and section links. The plugin has 100,000+ active installations, which makes it a trusted pick for this exact job [source: WordPress.org].
TLDR: Install Sticky Menu or Anything on Scroll, choose the recipe menu’s CSS selector, and set a top offset so it does not cover your site header. For example, if a reader is following a 2,400-word lasagna recipe, a fixed “Ingredients / Sauce / Bake / Notes” menu can save them from scrolling back up 8 or 10 times. On mobile, even a 60-pixel sticky bar can make the page feel much easier to use. Test it on one recipe first, then apply it to your recipe template.
Why long recipes need a visible menu
Long cooking pages are useful, but they can also be annoying. A reader may check the oven temperature, scroll to the sauce step, then need the ingredient list again. Honestly, it feels like losing your place in a cookbook every 30 seconds.
A sticky recipe menu fixes that small irritation. It keeps key recipe links on screen while the cooking instructions move underneath. The reader can tap Ingredients, Method, Tips, or Nutrition without hunting around.
This also helps food bloggers. Better page flow means fewer people give up halfway through. If your recipe posts are long, your menu should not vanish after the first screen.
The plugin to use
The plugin you want is Sticky Menu or Anything on Scroll. It lets you make almost any page element stick to the top of the screen after the visitor scrolls down.
That “almost anything” part matters. You are not limited to your main site menu. You can pin a custom recipe menu, a small table of contents, a recipe card toolbar, or a row of jump links.
For a recipe site, the best sticky items are usually:
- A recipe section menu with links to ingredients, steps, notes, and storage tips.
- A “Jump to Recipe” bar for long story-style posts.
- A cooking progress menu for recipes split into prep, cook, bake, and serve sections.
- A compact mobile menu with 3 or 4 short links.
Step 1: Create a clear recipe menu
Before using the plugin, build a menu worth sticking. Keep it short. A sticky menu with 12 links feels cramped and fussy, especially on a phone.
A good recipe menu might look like this:
- Ingredients
- Instructions
- Tips
- Storage
- Comments
Use anchor links so each menu item jumps to the right section of the recipe. In WordPress, many block themes and page builders let you add an HTML anchor in the block settings. You can also add an ID manually in HTML, such as:
<h2 id="ingredients">Ingredients</h2>
Then your menu link points to:
#ingredients
If your site structure is still messy, this guide to modern site navigation patterns is useful for planning menus that reduce friction and keep readers moving.
Step 2: Find the menu’s CSS selector
This plugin needs a CSS selector. That sounds technical, but it is just the label used to identify the element you want to keep fixed.
For example, your recipe menu might have a class like:
.recipe-jump-menu
Or an ID like:
#recipe-menu
You can find this with your browser’s inspect tool. Right-click the menu, choose Inspect, then look for the class or ID on that element. It drives me crazy that this part still feels harder than it should in WordPress, but once you find the selector, the rest is quick.
Step 3: Add the selector in the plugin settings
After installing and activating the plugin, go to its settings page in WordPress. Add your selector in the field for the sticky element.
For example:
.recipe-jump-menu
Save the settings, open a recipe post, and scroll. If the menu sticks, you are close. If nothing happens, the selector may be wrong, or the menu may only appear on certain templates.
Step 4: Set the top spacing
This is the part many people miss. If your site already has a fixed header, the recipe menu can slide underneath it. That looks broken.
Use the plugin’s spacing or offset option to push the sticky menu down. If your header is 80 pixels tall, start with an 80px offset. Then test again.
Check both desktop and mobile. A sticky bar that looks fine on a laptop may cover half the screen on a phone. Keep mobile menus slim. Use shorter labels like Steps instead of Full Cooking Instructions.
Step 5: Control where it appears
You may not want the sticky recipe menu on every page. It belongs on recipe posts, not your contact page or homepage.
Depending on your theme setup, you can place the recipe menu only inside recipe posts or recipe templates. Then the plugin will only stick it when that element exists. This keeps your site clean and avoids odd floating menus in the wrong places.
Common problems and quick fixes
- The menu covers content: Increase the top offset or add margin below the sticky item.
- The menu is too wide on mobile: Use fewer links, smaller text, or horizontal scrolling.
- The sticky effect does not work: Recheck the CSS selector. Use the exact class or ID.
- The menu sits behind images: Raise the z-index in your CSS.
- The page feels jumpy: Give the menu a fixed height so the layout does not shift.
A simple CSS polish
A sticky recipe menu should be useful, not loud. Add soft styling so it feels built into the page.
.recipe-jump-menu {
background: #fff;
border-bottom: 1px solid #eee;
padding: 10px;
z-index: 9999;
}
.recipe-jump-menu a {
margin-right: 12px;
font-weight: 600;
}
Keep the contrast strong. Greasy fingers, a dim kitchen, and a small phone screen are not kind to pale gray links.
Best setup for recipe sites
The strongest setup is simple: a short recipe menu near the top, anchor links for each major section, and the Sticky Menu or Anything on Scroll plugin making that menu stay visible. Add a sensible offset. Test it on a real phone. Then ask one person to use it while following a recipe.
If they can jump from step 7 back to ingredients without sighing, you have done it right.

