Adding Anchor on single page site to Menu

Is it me but im struggling to add an anchor to the sticky menu on a single page website.

Chris

No problem, you can do that!

Here’s how:

  1. Right-click in the Page list and select “New Link”.
  2. Add your anchor as the URL, something like “#your-anchor”.
  3. Click in the page list to rename the menu item.

In the video, I write /#anchor, but you don’t need the forward slash, you can just use #anchor.

Hey Dan

I’ve setup anchors for my landing page and currently I’m publishing to a preview directory.

When I publish my landing page the anchors send the link to the top-level of my website not to the anchor location on the current page located in Preview.

I have set the the web address under the general publishing setup to the www.my-website.com/preview/ as well as under the Publishing setting for the website and it doesn’t have any effect.

I managed a work around by adding /preview/ to the front of the anchor name but this breaks the desktop preview at 127.0.0.1.

Any suggestions would be greatly appreciated.

Sorry, that URL doesn’t work (goes to a domain holding page). Can you share the correct URL? and the project via Elements Cloud then we can get it worked out for you :blush:

Dan,

I’ll try again once the Publishing bug is fixed.

Last night Elements published over 6500 files in over 700 directories for a simple landing page.

Thanks

We’re working on the publishing manifest fix right now, so the next build of Elements will start to track what’s changed and only upload the changed files going forward — Stay tune for that!

1 Like

@iamliving You’ll want to give the latest build (1.0.2) a try, as this fixes the re-publishing of all files issue :wink: