• Resolved davidepassengerzero

    (@davidepassengerzero)


    Hi,
    Is there a way to set an anchor to the primary menu when you browse pages?
    The template is set to scroll automatically to the top of the page. I would like to create anchors to the content in order to avoid the visitor to scoll down manually every time they change the page.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Just create a anchor link #home in your menu. Hope it should help to you and let me know the feedback.

    Thread Starter davidepassengerzero

    (@davidepassengerzero)

    Hi, this method works only with pages I created myself and I have already used it but it doesen’t work with link that wordpress generates automatically. For example it doesen’t work with articles. I also tried to modify the permalink or every single article link but wordpress doesen’t allow me to use “#” type.
    Thanks for your support and if you have others suggestions I’ll be happy tor hear.

    Yes, You need to create the #link manually by yourself because wordpress does not create the links like this. Hope you will understand.

    Thread Starter davidepassengerzero

    (@davidepassengerzero)

    I understand but I don’t know how to operate out of wordpress. Do you know where I have to create my #link manually? I know my questions may sound stupid but I am quite ignorant of these kind of things.

    Hello, you’d need to do something similar to this: https://docs.themeisle.com/article/33-how-to-link-menus-to-sections-in-zerif

    But your IDs would be different from the one in the document since it’s for Zerif

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Autoscroll to content’ is closed to new replies.