One-Page Navigation
Turn your first-level menu items into smooth-scroll anchors and build a complete single-page website — no coding required. Just enable the feature, drop in the new One-Page Section module, and publish.
Overview
One-Page navigation turns your first-level menu items into smooth-scroll anchors on the home page. Your menu keeps its normal Jimdo page URLs
(/, /designs/, /contact/). On the published home page, Matrix automatically converts them to in-page #section-id links whenever a matching
section anchor exists.
-
First-level menu items scroll to their sections instead of loading new pages
-
The active section is highlighted in the menu as you scroll (scroll-spy)
-
Sub-pages keep working as normal pages and show as dropdown items
-
Works on desktop and mobile, with the mobile overlay closing on tap
How it works
The feature adapts automatically to where your visitor is and whether you're editing or publishing.
| Context | Behavior |
|---|---|
| Published home page |
First-level nav URLs become #section-id hashes; clicks smooth-scroll to the section.
|
| Sub-pages | Normal page navigation. Hash links redirect back to the home page + section when needed. |
| Admin preview | Scrolling is disabled so the menu stays clickable for switching pages while editing. |
| Mobile | The navigation overlay closes automatically after a menu item is tapped. |
1 Quick setup
Getting one-page navigation running takes three steps.
Step 1 — Enable the feature
Set onePage: true in your configuration and make sure the script is uploaded to your project.
window.MatrixConfig = {
features: {
onePage: true // Enable one-page scroll navigation
}
};
Step 2 — Add your section anchors
On the home page, open the module map and add a One-Page Section for each first-level menu item (see the section below).
Step 3 — Save & publish
Publish your site. Your first-level menu items now smooth-scroll to their sections on the home page.
2 The One-Page Section module
Since v1.7.6, anchor sections are added visually from the module map — no HTML editing needed. The picker lists your first-level menu items and inserts the correct anchor markup for you.
No coding required
Pick a menu item from the list and Matrix inserts a matching .cc-section anchor automatically.
Add a section in the editor
Open the home page
Edit your home page in the Jimdo admin (the cc-indexpage).
Click the + module map
Open the main module panel and choose One-Page Section.
Pick a menu item
Select a first-level nav item (e.g. Designs). Matrix inserts the anchor for you.
Save & repeat
Add a section for each menu item you want to scroll to, then publish.
What the picker does
-
Lists first-level menu items only (sub-pages are excluded by design)
-
Shows a spinner while it loads your navigation, then fills the list in place
-
Highlights sections that already exist in blue — clicking scrolls to them instead of creating a duplicate
-
Generates unique slugs for duplicate menu titles (e.g.
new-page,new-page-1)
3 Manual sections (optional)
Prefer to do it by hand, or running an older version? Add a Widget/HTML module and drop in a .cc-section anchor. The id must match the slug produced
from the menu link.
<div class="cc-section" id="home">
<span>Home</span>
</div>
<div class="cc-section" id="designs">
<span>Designs</span>
</div>
<div class="cc-section" id="contact">
<span>Contact</span>
</div>
URL → section id
Section ids come from your page URL slugs, not the display titles. Special characters are stripped.
| Menu link | Section id |
|---|---|
/ or Home
|
home
|
/designs/
|
designs
|
/über-uns/
|
ber-uns
|
/new-page-2/
|
new-page-2
|
Configuration
Advanced defaults you can tune in onePageScroll.js.
| Option | Type | Default | Description |
|---|---|---|---|
scrollDuration
|
number |
800
|
Scroll animation length in milliseconds. |
scrollOffset
|
number |
80
|
Offset from the top for fixed headers. |
smoothScroll
|
boolean |
true
|
Animate scrolling instead of jumping. |
hashUpdate
|
boolean |
true
|
Update the URL hash while scrolling. |
debugMode
|
boolean |
false
|
Verbose console logging for debugging. |
Troubleshooting
| Issue | Fix |
|---|---|
| Nav doesn't scroll on the home page |
Add a .cc-section whose id matches the nav slug, confirm onePage: true, and make sure you're on the home page.
|
| No One-Page Section button |
Enable onePage, edit the home page, and open the main + module map.
|
| Duplicate id warning | That anchor already exists — the row is highlighted blue. Click it to scroll, or remove the old module first. |
| Wrong section id |
Ids come from URL slugs, not display titles. Check /designs/ → designs.
|
| Sub-page missing from picker | By design — only first-level menu items are listed. |

