Skip to content
  • Home
  • Features
    • Matrix Framework
    • Matrix One
    • Plugin Toolkit
    • Matrix Library
  • Templates
  • Support
  • Pricing
  • Home
  • Features
    • Matrix Framework
    • Matrix One
    • Plugin Toolkit
    • Matrix Library
  • Templates
  • Support
  • Pricing
  1. Support
Framework Core Updated · v1.7.6

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.

5 min read
Beginner friendly
Requires v1.7.6+

On this page

  • Overview
  • How it works
  • Quick setup
  • One-Page Section module
  • Manual sections
  • URL → section id
  • Configuration
  • Troubleshooting

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
What's new: Anchor sections are now added with the built-in One-Page Section module from the panel — no more manual HTML or nav-editor hashes.

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.

matrix-config.js
window.MatrixConfig = {
  features: {
    onePage: true // Enable one-page scroll navigation
  }
};

Note: Make sure one-page-scroll.matrix.js is uploaded to your project. This script powers the smooth-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.

Tip: Smooth scrolling only applies on the published home page — not inside the admin preview.

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

1

Open the home page

Edit your home page in the Jimdo admin (the cc-indexpage).

2

Click the + module map

Open the main module panel and choose One-Page Section.

3

Pick a menu item

Select a first-level nav item (e.g. Designs). Matrix inserts the anchor for you.

4

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)
Info: The One-Page Section module is available only when onePage: true, you're editing the home page, and the main module map is open. On earlier versions, add sections manually (below).
browser-frame

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.

HTML
<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>

Caution: The id must match the slug generated from the nav link (e.g. /designs/ → designs), or the menu item won't find its section.

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

Note: Jimdo reserves /about; editor-created "About" pages use about-1 instead.

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.

Get started
Gobal colors
  bg-primary
  bg-primary-light
  bg-primary-dark
  bg-secondary
  bg-secondary-dark
Template colors
  body
  top-header
  top-header-inner
  header
  header-inner
  navigation-inner
  navigation color
  dropdown background color
  content
Footer Styles
  background
  text color
  link color
  horizontal line
Buttons
  style 1
  style 2
  style 3
  text color
Mobile navigation
  background color
  navigation color
Other elements
  social icons
  top header border
  header border
  nav inner border
  footer border
 
Template configurations
 
has-sticky-logo has-large-header primary-font has-center-nav has-header-blur no-shopping-cart
 
Top header inner
 
 
 
Header inner
 
 
 
Navigation inner
 
 
 
Navigation styles
 
size-15 weight-400 color-nav
 
Sub-menu (breadcrumbs) styles
 
size-15
 
Mobile Navigation styles
 
size-30
 
Content styles
 
form-white
 
Footer styles
 
o-form has-thin-border has-border-style-solid has-border-top has-footer-border-color
 
Footer background image
 
 

 

Typography

Heading H1
weight-400
 
Heading H2
weight-400
 
Heading H3
weight-400
 
Body text (p, table, td)
 
 
Buttons
weight-400
 
 
Advanced settings
 
Custom CSS

#cc-inner .my-class {

color:#f0f0f0;

}

/* MATRIX-CUSTOM-MODULES-START */

#cc-m-7792741551 h1, #cc-m-7792741551 h2, #cc-m-7792741551 h3 {font-size:20px !important;}

#cc-m-7792741851 h1, #cc-m-7792741851 h2, #cc-m-7792741851 h3 {font-size:20px !important;}

#cc-m-7792930551 h1, #cc-m-7792930551 h2, #cc-m-7792930551 h3 {font-size:20px !important;}

#cc-m-12388126494 h1, #cc-m-12388126494 h2, #cc-m-12388126494 h3 {font-weight:600 !important;}

#cc-m-12388126494 h1, #cc-m-12388126494 h2, #cc-m-12388126494 h3 {font-size:40px !important;}

/* MATRIX-CUSTOM-MODULES-END */

/* MATRIX-GLOBAL-SETTINGS-START */

:root {

--content-width: 1170px;

--special-pages-content-width: 900px;

}

/* HAMBURGER-BAR-START */

:root { --hamburger-btn-background: transparent; --hamburger-btn-bg: transparent; --hamburger-btn-bg-active: transparent; }

/* HAMBURGER-BAR-END */

#cc-inner #hs-container .j-formnew input[type='submit'],

#cc-inner #hs-container input.submitUser,

#cc-inner .hs-button,

#cc-inner .j-calltoaction-link,

#cc-inner input.cc-checkout-btn,

#cc-inner a.cc-shop-addtocard {

padding: 14px 35px !important;

border-radius: 8px;

}

/* MOBILE-FULLWIDTH-BUTTONS-START */

@media only screen and (width <= 746px) {

#cc-inner #hs-container .j-formnew input[type='submit'],

#cc-inner #hs-container input.submitUser,

#cc-inner .hs-button,

#cc-inner .j-calltoaction-link {

width: 100% !important;

margin: 5px auto 0 auto;

box-sizing: border-box;

text-align: center !important;

}

}

/* MOBILE-FULLWIDTH-BUTTONS-END */

/* MATRIX-GLOBAL-SETTINGS-END */


Note:
All changes made here will be applied to your entire website.
Matrix Framework
draggable-logo

Matrix Framework

Build faster, smarter, and more flexible Jimdo websites.

has-right-col-border

Products

Matrix Framework

Matrix One

Matrix Plugin Toolkit

Resources

Support

Matrix Academy

FAQs

Changelog

Community

Showcase

Marketplace

Blog

Archive


About | Privacy Policy | Cookie Policy | Sitemap | Withdraw contract
Created with Jimdo
Log in Log out | Edit
  • Scroll to top
Close