Skip to content
● Meet Grav Guard: keep every Grav site you run secure and up to date, all from one place. Free for up to 3 sites. Read more →

Creating an anchor link from the header to the body on the same page

Started by Dorian Jepsen 3 years ago · 2 replies · 938 views
3 years ago

I'm making a single-page site and I want the links in the header to jump/go to a specific part of the page. I can't figure out how to do it. In this instance, I would like the "Contact" link to scroll down to the "Get in touch. Join the club!" part of the page.

I know how to do this with HTML, but the Grav menu and markdown are stumping me.

3 years ago

@Alpha,

Inline anchors will be created for you out of the box...

last edited 10/26/23 by pamtbaau
3 years ago

And also have a look at this:
/forum/themes-styling/quark-mobile-menu-as-the-modular-page-menu-t1132

👍 1

Suggested topics

Topic Participants Replies Views Activity
General · by themetman, 23 hours ago
2 40 16 hours ago
General · by Hanns Mattes, 1 week ago
0 121 1 week ago
General · by Karmalakas, 1 week ago
2 185 1 week ago
General · by Hanns Mattes, 3 weeks ago
0 235 3 weeks ago
General · by Dima, 4 weeks ago
1 211 4 weeks ago