Archived topic
Anchor Function
5 replies · Started by Hermann on October 2, 2016
I need an Anchor Function for long text sites.
but important, as a menu point, not by inserting manual html
Hi there,
This might help: https://generatepress.com/forums/topic/one-pager/#post-155986
Let me know :)
i did´nt really understand.
Can you show that with a few screenshots.
Very important form me is: i will have a matrix with some events at the beginning of the text.
When i click on the event, there should be a jump to the report on the same side.
After reading the eventreport. i want to jump back to the matrix.
It's not really something can be shown through screenshots.
You have to set the anchor point with a name in the page where you want the links to jump to:
<a name="scroll-to-me"><!-- anchor --></a>
Then in "Appearance > Menus", you want to add a custom link: https://generatepress.com/knowledgebase/using-menus/#create-drop-down-menu-custom
The URL of that custom link should be the name of your anchor with a hashtag in front of it: #scroll-to-me
If you'll be linking to these anchors from separate pages, the custom link will need to include the full URL: http://yourwebsite.com/my-page#scroll-to-me
that seems do be the Bacling to the top.
when you have a matrix with i.e. 20 events i need a jump to each event.
With your suggest, it will look very confusing for me.
Can you show me what you have so far?