[Support request] Cyclic Links

Home Forums Support [Support request] Cyclic Links

Home Forums Support Cyclic Links

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #379264
    Nadezhda

    Hello! Sorry, I use Google translator. Admired by the theme, but did not notice immediately that all links in the top and side menu are cyclic. Can I fix it?

    #379526
    Leo
    Staff
    Customer Support

    Hi there,

    Not too sure what you mean? Have you created a menu? https://docs.generatepress.com/article/using-the-wordpress-menu-builder/

    If this doesn’t help are you able to link us to the site? Thanks!

    #379540
    Nadezhda

    It’s not the menu. The menu works correctly. But on each page, you can click on the link of the same page in the menu, and the page is reloaded. Pages refer to themselves. For example, when I am https://rubleva.us/muzykanty-na-prazdnik/, the link in the menu should not be active.

    #379806
    Tom
    Lead Developer
    Lead Developer

    Something like that would probably require javascript. HTML links (menu items included) aren’t built to disable themselves if they’re the current page.

    #447347
    Edwin

    I use this to disable current links

    li.current-menu-item {
    	pointer-events: none;
    }
    #447465
    Tom
    Lead Developer
    Lead Developer

    Good idea!

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