Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

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

Started by Dorian Jepsen 3 years ago · 2 replies · 638 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 jean-louis67, 3 days ago
2 81 2 days ago
General · by Andy Miller, 7 days ago
0 146 7 days ago
General · by Veehem, 1 week ago
0 145 1 week ago
General · by milkboy, 1 week ago
0 138 1 week ago
General · by ian russell, 2 weeks ago
2 226 2 weeks ago