Discussions
how to add anchor links in menu
almost 4 years ago by Grégoire Colson
My pages include multiple sections that i'd like to reference in the menu as sub-links (anchor links, with #) of the pages links.
Example : I have a "Home" Page with 3 sections with ids "section-1", "section-2" and "section-3".
In the menu I display the main "Home" link and when hovering this link i'd like to display 3 anchor links to go directly to the corresponding sections.
Is it possible ? The "page" liquid drop doesn't seem to include the page content of sections, so I wonder how to achieve this.
Thanks !
Grégoire