Skip to content

Build a One Page Site

Take a look at the One Page demo first: https://theme.dnngo.net/onepage. Clicking a menu item smoothly scrolls the page to the matching section. Set yours up as follows.

One Page demo


Steps

  1. Log in as a superuser

  2. Click the Page Option icon on the right side of the page

    The Page Option icon

  3. Click the Page Type button

    The Page Type button

  4. Choose One Page

    Choose One Page

  5. Check Enable Custom Theme

    Enable Custom Theme

  6. Go to Layout > Content Layouts and edit or create a layout

  7. Edit a row

    Edit the row

  8. Open the Anchor tab and fill in Anchor ID and Anchor Title. The Anchor ID must not contain spaces; the Anchor Title appears in the side navigation

    Fill in the anchor

  9. Go to Admin > Pages in the DNN site and add the menu items. Set Page Type to URL, put the Anchor ID from step 8 into External Url (e.g. #AboutUs), and give the menu a Name (e.g. About Us). Now clicking the About Us menu scrolls the page to the #AboutUs section

    Add the menu item

  10. Repeat steps 7, 8 and 9 to add more anchor sections


One Page Options

One Page pages come with a few extra settings.

One Page settings

SettingDescription
NavigationShow a dot navigation bar

Navigation

SettingDescription
Navigation PositionDots on the left or right of the window
Navigation StyleLook of the dot bar — 3 styles
Easing AnimationTransition effect
DurationDuration of the transition
Header AnchorThe anchor of the header
Footer AnchorThe anchor of the footer