Lodestar internal linking
-
Hi everyone, I’ve finished building a site using the Lodestar theme and I’m pretty happy with it (not live yet). But I’m hoping there’s a way to make the links from the menu jump down to the relevant panel of the static page. At the moment, they’re just opening up a new page for the relevant panel. I can’t seem to find any help on the support pages to enable me to do this. Appreciate any help anyone can offer.
CheersThe blog I need help with is: (visible only to logged in users)
-
Hi there,
Lodestar is not designed to have a page-jump menu – menu links go to the pages themselves, rather than the page’s panel on the front page.
But you can create a page-jump menu – each panel has its own unique ID, for example, the Name panel has the id
panel2. You can find that ID using the browser inspector – right click on the panel title and select Inspect or Inspect Element. Then look for the line that resembles<span class="lodestar-panel-title">Panel 2</span>Next, edit or create a custom menu, and instead of pages, add custom links to the menu. Adding
#panel2as the URL will have that menu item jump to the Name panel. -
That’s great advice. Thanks kokkieh very much. I’ll check that out and get back to you if I have any issues.
Cheers and all the best
- The topic ‘Lodestar internal linking’ is closed to new replies.