[Resolved] anchor links

Home Forums Support [Resolved] anchor links

Home Forums Support anchor links

  • This topic has 3 replies, 2 voices, and was last updated 9 years ago by Tom.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #102052
    Sander Bloem

    Hi there,

    I’ve arranged the different menus but they have to be anchor links.
    i give the sections id’s and done the links in the manu properly.

    on a mobile device the anchor links perfect but on a desktop they don’t work.

    do you have any suggestions?

    thanks in advance!

    #102166
    Tom
    Lead Developer
    Lead Developer

    Can you possibly link me to the page so I can take a look?

    If the sections have IDs, and your anchor links are set up like this: #some-id – then it should work.

    Let me know 🙂

    #102176
    Sander Bloem

    http://profacilities.nl/wp/film-makers

    Thats the link.
    Im using the full lenght of the url not sure if this is nessesery…

    Hope you can help me.

    Sander

    #102315
    Tom
    Lead Developer
    Lead Developer

    I’m not exactly sure what’s going on here.. When you’re on the page with the anchor, it shouldn’t reload to display it.

    For example, go here: http://generatepress.com/knowledgebase/install-activate-addons/

    Then add: #activate to the end of the URL. It should jump down immediately.

    It may be because the links have the full URL in them, which is necessary for all other pages.. Try removing the full URL and keeping the #whatever, see if it works.

    If it does, you may need to create a new menu specifically for the homepage, and use this plugin to show that menu on the homepage only: https://wordpress.org/plugins/menu-swapper/

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.