Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • JoskerVemeulen 68 posts 262 karma points
    Oct 29, 2019 @ 14:45
    JoskerVemeulen
    0

    One pager setup

    Hello. We want to create a one-pager setup. Where the navigation scrolls(anchor) to the relevant section. Sections will be content blocks.

    Any idea how to go about setting up such a structure in umbraco? Navigation setup, views, ....?

    Thanks!

  • Amir Khan 1287 posts 2744 karma points
    Oct 29, 2019 @ 15:04
    Amir Khan
    0

    Nested content is awesome for this: https://our.umbraco.com/documentation/getting-started/backoffice/property-editors/built-in-property-editors/Nested-Content/

    You can create as many document types for each type of content block as you need and then build the entire structure on one node.

    Regarding navigation, you could add a text field for Navigation Name to each block and if use it to render your navigation list and replace spaces, dashes etc so you have a class on the nav item / block to target with scrollTo or some other javascript.

Please Sign in or register to post replies

Write your reply to:

Draft